Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

i.yalovecky

macrumors member
Original poster
Feb 24, 2010
67
0
Hi. Need advice for how manage objects in my CoreData app. In ViewController i made static function what create context object for me. But i need to access this function from my MO classes (entities representations). How i can do it? May be with initialization, Controller create MO objects and initialize them somehow. Don't know.
 
Mmm..
Code:
// The designated initializer.
- (id)initWithEntity:(NSEntityDescription *)entity insertIntoManagedObjectContext:(NSManagedObjectContext *)context;
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.