Re: NSObjectController and Core Data
Re: NSObjectController and Core Data
- Subject: Re: NSObjectController and Core Data
- From: mmalc crawford <email@hidden>
- Date: Fri, 23 Feb 2007 08:35:03 -0800
On Feb 22, 2007, at 8:24 AM, Kevin wrote:
[controller setEntityName:@"MyEntity"];
[controller setManagedObjectContext:[self managedObjectContext]];
Swap the order of these lines.
(There should be an error message otherwise:
"Cannot perform operation without a managed object context")
mmalc
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden