Core Data Confusion
mmalc crawford
mmalc_lists at mac.com
Mon Feb 5 04:55:18 PST 2007
On Jan 31, 2007, at 9:32 AM, Boisy Pitre wrote:
> My question is: is using the primitive method to obtain the values
> of these attributes a bad thing? I know the Core Data document
> discourages one from using the primitive version of the call, and
> encourages use of either valueForKey: or access the identifier
> directly, but if control is already in a method which was invoked
> BECAUSE of KVO, is accessing that variable again INSIDE of the
> observed method a bad thing?
>
Yes -- it's not clear why you would ignore the advice in the
documentation? The will/didAccess.. calls are required to fire faults.
mmalc
More information about the MacOSX-dev
mailing list