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 21:10:40 -0800
On Jan 15, 2006, at 8:30 PM, Todd Cash wrote:
I have the code in the AwakeFromNib method in my AppDelegate.
LogController is not null at that point (but it has no records in
it yet).
'AwakeFromNib' or 'awakeFromNib'?
If 'awakeFromNib', and logsController is correctly set when you invoke:
[logsController addObserver:self forKeyPath:@"selection.name"
options:NSKeyValueObservingOptionNew context:NameBindingIdentifier];
then the observe... method should be called.
I've also tried wiring this up to the ManagedObjectContext but that
does not work either.
In what sense, wired up to the context?
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