Created
September 25, 2012 00:23
-
-
Save criccomini/3779268 to your computer and use it in GitHub Desktop.
Simple Login Screen - LoginAppAppDelegate.m
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 "LoginAppAppDelegate.h" | |
| #import "LoginViewController.h" | |
| @implementation LoginAppAppDelegate | |
| @synthesize window; | |
| @synthesize loginViewController; | |
| - (void)applicationDidFinishLaunching:(UIApplication *)application { | |
| LoginViewController *_loginViewController = [[LoginViewController alloc] initWithNibName:@"LoginView" bundle:[NSBundle mainBundle]]; | |
| self.loginViewController = _loginViewController; | |
| [_loginViewController release]; | |
| [window addSubview:[loginViewController view]]; | |
| // Override point for customization after application launch | |
| [window makeKeyAndVisible]; | |
| } | |
| - (void)dealloc { | |
| [loginViewController release]; | |
| [window release]; | |
| [super dealloc]; | |
| } | |
| @end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment