Advertisement
Guest User

AppDelegate.m

a guest
Jun 30th, 2012
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. #import "AppDelegate.h"
  2. #import "WebViewController2.h"
  3. #import "RootViewiPad.h"
  4. @implementation AppDelegate
  5.  
  6. @synthesize window;
  7.  
  8. @synthesize splitViewController;
  9. @synthesize rootipad = _rootipad;
  10. @synthesize detailipad = _detailipad;
  11.  
  12.  
  13.  
  14. - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
  15. sleep(3);
  16.  
  17. self.window.rootViewController = self.splitViewController;
  18. [self.window makeKeyAndVisible];
  19. RootViewiPad *detailViewController1 =
  20. self.rootipad;
  21.  
  22. [detailViewController1 performSelector:@selector(viewDidLoad)];
  23.  
  24. return YES;
  25. }
  26.  
  27.  
  28.  
  29.  
  30.  
  31. - (void)dealloc {
  32. [splitViewController release];
  33. [window release];
  34. [super dealloc];
  35. }
  36.  
  37. @end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement