Posted By

elango on 04/07/10


Tagged

textmate AppDelegate UIApplication


Versions (?)

AppDelegate


 / Published in: Other
 

  1. // GETTING THE APP DELEGATE INSTANCE INSIDE THE VIEW CONTROLLER :: TIP ::
  2. AppDelegate *appDelegate = (AppDelegate*)[[UIApplication sharedApplication] delegate];
  3. [self setManagedObjectContext:appDelegate.managedObjectContext];

Report this snippet  

You need to login to post a comment.