Skip to content

Instantly share code, notes, and snippets.

@NYiPhoneDeveloper
Created April 20, 2010 23:26
Show Gist options
  • Save NYiPhoneDeveloper/373210 to your computer and use it in GitHub Desktop.
Save NYiPhoneDeveloper/373210 to your computer and use it in GitHub Desktop.
- (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