• 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: [DESESPERATE MODE?] Core Data validation question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DESESPERATE MODE?] Core Data validation question


  • Subject: Re: [DESESPERATE MODE?] Core Data validation question
  • From: Jonathon Mah <email@hidden>
  • Date: Thu, 22 Jun 2006 01:59:22 +0930

Hi Aurélien,

On 2006-06-21, at 16:07, Aurélien Hugelé wrote:

i have a very simple question:
i've implemented accessors for all my attributes, using "copy method implementations to clipboard", but did not implement any of the validate<Key>:error: methods...


Does implementing this method and (only) returning YES, avoids core data to perform its checks about the validity of the attribute ? [...] To improve performances, are we supposed to implement it ? from what i can see in shark, NSKeyValueMethodForPattern is very slow, is it the search method ?

Just try it; it only takes one line of code.


Jonathon Mah 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: 
 >[DESESPERATE MODE?] Core Data validation question (From: Aurélien Hugelé <email@hidden>)

  • Prev by Date: Re: [Q] NSOpenPanel / NSSavePanel customization
  • Next by Date: Re: Unique data in Core Data?
  • Previous by thread: [DESESPERATE MODE?] Core Data validation question
  • Next by thread: window with focus, but no titlebar.
  • Index(es):
    • Date
    • Thread