Re: Creating temporary NSManagedObjects (PS)
Re: Creating temporary NSManagedObjects (PS)
- Subject: Re: Creating temporary NSManagedObjects (PS)
- From: vincent habchi <email@hidden>
- Date: Mon, 26 Apr 2010 16:29:16 +0200
Le 26 avr. 2010 à 15:50, Jack Nutting a écrit :
> Well I haven't actually tried it yet, so don't thank me yet! ;) The
> docs for "initWithEntity:insertIntoManagedObjectContext :" do include
> the text "If context is not nil, this method..." though, which seems
> to imply that you should be able to send it a nil context. I really
> should try this out myself.
It works. I found myself forced to copy more objects (because when two MOC are different you can't establish cross-MOC relationships), but it works allright. Now, I've not checked whether the objects get actually freed with a release: call. I'll see that with Instruments.
V._______________________________________________
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