Created
May 8, 2012 19:17
-
-
Save casspangell/2638605 to your computer and use it in GitHub Desktop.
Instantiating a Nib of Another Class
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
//Create the pointer to the view you want to become the current | |
LoginWindow *loginViewController = [[LoginWindow alloc] initWithNibName:@"LoginWindow~iphone" bundle:nil]; | |
//Change current view to the new one | |
self.window.rootViewController = loginViewController; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment