mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-05 08:32:58 +00:00
CPViewController The cib should be initialized with bundle information.
This commit is contained in:
1 parent
7c807dd887
commit
93f51eaa42
1 file changed
+1
-1
@@ -160,7 +160,7 @@ var CPViewControllerCachedCibs;
|
||||
if (!cib)
|
||||
{
|
||||
// if the cib isn't cached yet : fetch it and cache it
|
||||
cib = [[CPCib alloc] initWithContentsOfURL:[_cibBundle pathForResource:_cibName + @".cib"]];
|
||||
cib = [[CPCib alloc] initWithCibNamed:_cibName bundle:_cibBundle];
|
||||
[CPViewControllerCachedCibs setObject:cib forKey:_cibName];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user