Skip to content

Commit

Permalink
CPViewController The cib should be initialized with bundle information.
Browse files Browse the repository at this point in the history
  • Loading branch information
cacaodev committed Mar 23, 2012
1 parent 7c807dd commit 93f51ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AppKit/CPViewController.j
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}

Expand Down

0 comments on commit 93f51ea

Please sign in to comment.