• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Creating temporary NSManagedObjects (PS)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Creating temporary NSManagedObjects (PS)
      • From: vincent habchi <email@hidden>
    • Re: Creating temporary NSManagedObjects (PS)
      • From: vincent habchi <email@hidden>
References: 
 >Creating temporary NSManagedObjects (From: vincent habchi <email@hidden>)
 >Re: Creating temporary NSManagedObjects (From: Jack Nutting <email@hidden>)
 >Re: Creating temporary NSManagedObjects (PS) (From: vincent habchi <email@hidden>)
 >Re: Creating temporary NSManagedObjects (PS) (From: Jack Nutting <email@hidden>)
 >Re: Creating temporary NSManagedObjects (PS) (From: Joanna Carter <email@hidden>)
 >Re: Creating temporary NSManagedObjects (PS) (From: Jack Nutting <email@hidden>)
 >Re: Creating temporary NSManagedObjects (PS) (From: Joanna Carter <email@hidden>)

  • Prev by Date: Re: Creating temporary NSManagedObjects (PS)
  • Next by Date: Re: NSApplicationMain question
  • Previous by thread: Re: Creating temporary NSManagedObjects (PS)
  • Next by thread: Re: Creating temporary NSManagedObjects (PS)
  • Index(es):
    • Date
    • Thread