Posted By

kyledr on 04/22/11


Tagged

c iphone objective iPad ios


Versions (?)

incompatible pointer types assigning to "UIViewController *" from "xyzController *"


 / Published in: Objective C
 

this code errors for me, reuse at own risk.

  1. - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
  2. {
  3. // Override point for customization after application launch.
  4.  
  5. if (firstRun) {
  6. self.window.rootViewController = self.mnhvViewController;
  7. }
  8. else {
  9. self.window.rootViewController = self.settingsViewController;
  10. }
  11. [self.window makeKeyAndVisible];
  12. return YES;
  13. }

Report this snippet  

You need to login to post a comment.