Re: Managed Object states for tab view
Re: Managed Object states for tab view
- Subject: Re: Managed Object states for tab view
- From: mmalc crawford <email@hidden>
- Date: Wed, 21 Feb 2007 14:59:10 -0800
On Feb 21, 2007, at 12:55 PM, mark hill wrote:
As the NSPersistentDocument is responsible for
generating the managedObjectContext within a
document-based application, is it possible to
duplicate a ManagedObjectModel and add it to the
context.
It is not clear what you mean.
A model is associated with a persistent store coordinator, not a
context.
Do you really want to duplicate a model (if so, why)? Or do you want
to create a copy of an existing managed object?
My understanding of this procedure through reading the Core Data
programming guide is that only a reference
is created, whereas I need a new instance of the Model based on the
state of the current one, so to speak.
Again it's not clear what you mean.
If you actually want to create a copy of a managed object, that's
discussed here:
<http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/Articles/cdUsingMOs.html#//apple_ref/doc/uid/TP40001803-213600
>
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