NSArrayController in 'entity mode'
NSArrayController in 'entity mode'
- Subject: NSArrayController in 'entity mode'
- From: Andrew Kimpton <email@hidden>
- Date: Tue, 27 Sep 2005 21:41:24 -0700
I'd like to create an NSArrayController via code in 'entity mode'. It
seems by default that NSArrayControllers are in object mode if created :
NSArrayController *anArrayController = [[NSArrayController alloc]
initWithContent:nil];
calling setManagedObjectContext, setEntityName, and
setAutomaticallyPreparesContent:YES don't seem to change this.
Is there a way to construct an 'entity mode' NSArrayController from Code
? Or can it only be done using the inspector panel of IB ?
Andrew 8-)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden