Re: Question regarding NSArrayController, KVO and Core Data
Re: Question regarding NSArrayController, KVO and Core Data
- Subject: Re: Question regarding NSArrayController, KVO and Core Data
- From: mmalcolm crawford <email@hidden>
- Date: Sun, 15 Jan 2006 16:03:06 -0800
On Jan 15, 2006, at 10:53 AM, Todd Cash wrote:
In my AppDelegate I've tried both of these code snippets but my
implementation of observerValueForKeyPath:ofObject:change:context:
is never getting called -
[logsController addObserver:self forKeyPath@"selection.date"
options:NSKeyValueObservingOptionNew context:NULL];
Where did you put this code? Is logsController nil...?
Note you should avoid using NULL as the context. At some stage you
may need to discriminate between observations.
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