Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## Presence1AppDelegate.h
- #import <UIKit/UIKit.h>
- #import "PersonListViewController.h"
- #import "PersonDetailViewController.h"
- @interface Presence1AppDelegate : NSObject <UIApplicationDelegate> {
- UIWindow *window;
- PersonListViewController *listViewController;
- UINavigationController *navControl;
- }
- @property (nonatomic, retain) IBOutlet UIWindow *window;
- @property (nonatomic, retain) IBOutlet PersonListViewController *listViewController;
- @end
- ## Presence1AppDelegate.m
- #import "Presence1AppDelegate.h"
- @implementation Presence1AppDelegate
- @synthesize window;
- @synthesize listViewController;
- - (void)applicationDidFinishLaunching:(UIApplication *)application {
- [window addSubview: listViewController.view];
- //PersonListViewController *listView = [[PersonListViewController alloc] init];
- // Override point for customization after application launch
- [window makeKeyAndVisible];
- }
- - (void)dealloc {
- [listViewController release];
- [window release];
- [super dealloc];
- }
- @end
Add Comment
Please, Sign In to add comment