37 - (id)initWithContentsOfURL:(
CPURL)aURL
43 _bundle = [[
CPBundle alloc] initWithPath:aURL];
65 for (var i = 0; i < _themes.length; ++i)
66 names.push(_themes[i].substring(0, _themes[i].indexOf(
".keyedtheme")));
71 - (void)loadWithDelegate:(
id)aDelegate
73 _loadDelegate = aDelegate;
75 [_bundle loadWithDelegate:self];
78 - (void)bundleDidFinishLoading:(
CPBundle)aBundle
80 _themes = [_bundle objectForInfoDictionaryKey:@"CPKeyedThemes"];
82 var count = _themes.length;
87 unarchiver = [[_CPThemeKeyedUnarchiver alloc]
91 [unarchiver decodeObjectForKey:@"root"];
93 [unarchiver finishDecoding];
96 [_loadDelegate blendDidFinishLoading:self];