Re: NSManagedObjected isInserted
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