Re: Core Data And Required Bindings
Re: Core Data And Required Bindings
- Subject: Re: Core Data And Required Bindings
- From: mmalc crawford <email@hidden>
- Date: Sun, 19 Nov 2006 07:33:09 -0800
On Nov 18, 2006, at 3:13 PM, Chris Outwin wrote:
The docs say NSManagedObject turns automatic KVO off for attributes
in the model, so I can't observe the attributes.
This is not the case.
The docs say that NSManagedObject turns automatic KVO off for
attributes in the model, so you must invoke the KVO methods yourself:
"**You must ensure that you invoke the relevant access and change
notification methods.** NSManagedObject disables automatic
notifications for key-value observing (KVO, see Key-Value Observing
Programming Guide), and the primitive accessor methods do not invoke
the access and change notification methods (willAccessValueForKey:,
didAccessValueForKey:, willChangeValueForKey:, and
didChangeValueForKey:)."
<http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/Articles/cdAccessorMethods.html
>
mmalc
_______________________________________________
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