FROM : Jonathon Mah
DATE : Wed Jun 21 18:29:22 2006
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_removed>
DATE : Wed Jun 21 18:29:22 2006
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_removed>
| Related mails | Author | Date |
|---|---|---|
| Aurélien Hugelé | Jun 21, 08:37 | |
| Jonathon Mah | Jun 21, 18:29 |






Cocoa mail archive

