Created
February 23, 2011 01:11
-
-
Save Alos/839797 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import <Foundation/CPObject.j> | |
@implementation AppController : CPObject | |
{ | |
CPWindow window; //this "outlet" is connected automatically by the Cib | |
} | |
- (void)applicationDidFinishLaunching:(CPNotification)aNotification | |
{ | |
var cib = [[CPCib alloc] initWithContentsOfURL:[[CPBundle mainBundle] pathForResource:@"Nib2CibDemo.cib"]]; | |
} | |
- (void)awakeFromCib | |
{ | |
[window setFullBridge:YES]; | |
} | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment