• 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
When is -validateForUpdate: invoked?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

When is -validateForUpdate: invoked?


  • Subject: When is -validateForUpdate: invoked?
  • From: email@hidden
  • Date: Wed, 4 Jul 2007 14:22:13 +0200

Hello,

I have been trying to understand when -[NSManagedObject validateForUpdate:] is being invoked after I update the object in the UI. I use -validate<Key>:error: that gets invoked nicely when I edited <Key> in the UI. But there are some other validations I'd like to do when any attribute of this entity gets updated and I was hoping that I could do this in the first method. But it never gets called! Do I need to do this explicitly?
The documentation is not clear on this as far as I can see.


Thanks!
Annard
_______________________________________________

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


  • Prev by Date: NSPopUpButton when to addItemsWithTitles
  • Next by Date: Re: Git (and a rant on subversion)
  • Previous by thread: NSPopUpButton when to addItemsWithTitles
  • Next by thread: Simple authorization question
  • Index(es):
    • Date
    • Thread