Re: CoreData, adding & removing objects via NSArrayController
Re: CoreData, adding & removing objects via NSArrayController
- Subject: Re: CoreData, adding & removing objects via NSArrayController
- From: Diederik Hoogenboom <email@hidden>
- Date: Fri, 25 Nov 2005 10:17:45 +0100
Timothy,
Have you tried to send processPendingChanges to the Managed Object
Context before saving? Normally this is done at the end of the run
loop but I have encountered problems like this before.
Kind regards,
Diederik
On 25-nov-2005, at 5:11, Timothy Reaves wrote:
I just noticed that if I add an object, change my mind, and remove
it (via buttons wired to the NSArrayController), validations are
still run on the core data object, even though it will not be
saved. Is there a way of preventing this? If not, has anyone a
good way of working around it?
Thanks.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40hoogenboom.be
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden