• 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: NSManagedObjected isInserted
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSManagedObjected isInserted


  • Subject: Re: NSManagedObjected isInserted
  • From: Jerry Krinock <email@hidden>
  • Date: Sun, 10 Apr 2011 22:11:05 -0700

On 2011 Apr 10, at 11:52, Carter R. Harrison wrote:

> On Apr 10, 2011, at 1:29 PM, Quincey Morris wrote:
>
>> The object should return YES for "isInserted" from the time it's inserted to the time the store is committed/saved.
>
> On a subsequent run of my application I fetch the object from the store and call [NSManagedObject isInserted].  Without fail it always returns NO.

If you read Quincey's post, he answers your question … after the store has been saved, its new objects return NO to -isInserted.

The documentation for -isInserted makes no mention of this.  But it wouldn't be the first time that Quincey was better than documentation.

_______________________________________________

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

References: 
 >NSManagedObjected isInserted (From: "Carter R. Harrison" <email@hidden>)
 >Re: NSManagedObjected isInserted (From: Quincey Morris <email@hidden>)
 >Re: NSManagedObjected isInserted (From: "Carter R. Harrison" <email@hidden>)

  • Prev by Date: Re: file done writing?
  • Next by Date: Re: file done writing?
  • Previous by thread: Re: NSManagedObjected isInserted
  • Next by thread: Re: NSManagedObjected isInserted
  • Index(es):
    • Date
    • Thread