Created
April 20, 2010 23:26
-
-
Save NYiPhoneDeveloper/373210 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
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions | |
{ | |
MyViewController *viewController = [[MyViewController alloc] initWithNibName: @"MyViewController" bundle: [NSBundle mainBundle]]; | |
self.myViewController = viewController; | |
[window addSubview: [myViewController view]]; | |
[window makeKeyAndVisible]; | |
return YES; | |
} | |
/* | |
Playing around with some new code. Like this where I implement the bundle package from NSBundle, and import | |
a NIB for an instance of my controller. | |
:) | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment