Creating a managed object without adding it to the context?
Creating a managed object without adding it to the context?
- Subject: Creating a managed object without adding it to the context?
- From: Ulai Beekam <email@hidden>
- Date: Sat, 24 Jan 2009 22:13:31 +0000
- Importance: Normal
Hi,
How do I programmatically create a managed object (with respect to some entity in a particular context of course) but WITHOUT adding it to the context?
The reason I want this is to be able to take that new managed object and add it via an NSArrayController (one that is connected to said context of course) instead. That way I will get all the benefits of the array controller, such as the newly inserted object getting selected in a table view that is bound to the array controller.
Regards,
U
_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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