• 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: CoreData, adding & removing objects via NSArrayController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >CoreData, adding & removing objects via NSArrayController (From: Timothy Reaves <email@hidden>)

  • Prev by Date: Re: Newbie needs help with tableview and bindings
  • Next by Date: How to know when a window is drawn ?
  • Previous by thread: CoreData, adding & removing objects via NSArrayController
  • Next by thread: How to know when a window is drawn ?
  • Index(es):
    • Date
    • Thread