Re: Creating temporary NSManagedObjects (PS)
Re: Creating temporary NSManagedObjects (PS)
- Subject: Re: Creating temporary NSManagedObjects (PS)
- From: Jack Nutting <email@hidden>
- Date: Mon, 26 Apr 2010 15:50:29 +0200
On Mon, Apr 26, 2010 at 3:46 PM, Joanna Carter
<email@hidden> wrote:
> Hi Jack
>
>> Right, but we were talking about passing in nil as the context when
>> creating the object, so there's no context to remove it from.
>
> That's interesting. I have never tried using a nil context. Something more to add to my knowledge repository :-)
>
> Thank you
>
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.
--
// jack
// http://nuthole.com
// http://learncocoa.org
_______________________________________________
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