• 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
[CORE DATA] is it safe to modify/delete a managed object during its validation?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[CORE DATA] is it safe to modify/delete a managed object during its validation?


  • Subject: [CORE DATA] is it safe to modify/delete a managed object during its validation?
  • From: AurĂ©lien HugelĂ© <email@hidden>
  • Date: Thu, 8 Feb 2007 12:26:02 +0100

Hi list!

I've finally implemented some more validation in my managed object subclass, in validateForUpdate: and validateForInsert:
If problem is encountered, is is possible to fix the object on the fly at this place? can I use accessors to modify the object?


Since the validation phase is processed at the beginning of the save phase, will the changes (made during validation phase) be applied for THIS save?

thanks
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: [CORE DATA] is it safe to modify/delete a managed object during its validation?
      • From: Michael Jurewitz <email@hidden>
  • Prev by Date: Re: View Layers
  • Next by Date: What happens when an application becomes active
  • Previous by thread: Re: View Layers
  • Next by thread: Re: [CORE DATA] is it safe to modify/delete a managed object during its validation?
  • Index(es):
    • Date
    • Thread