Re: programatically updating UI for NSArrayContoller/NSTableView combo
Re: programatically updating UI for NSArrayContoller/NSTableView combo
- Subject: Re: programatically updating UI for NSArrayContoller/NSTableView combo
- From: mmalc Crawford <email@hidden>
- Date: Sat, 09 Jan 2010 13:59:19 -0800
On Jan 9, 2010, at 1:50 pm, Russell Gray wrote:
> On 10/01/2010, at 8:18 AM, Quincey Morris wrote:
>> How about if you register your own KVO observer of the "subscriptions" property? Does it get notified when the property changes? Did you check the log for exception error messages?
> So, I added an observer to my awakeFromNIb:
> [subscriptionsArrayController addObserver: self
> forKeyPath: @"arrangedObjects"
> options: NSKeyValueObservingOptionNew
> context: NULL];
>
Quincey did suggest observing the subscriptions property...
> what would be my next plan of attack here?
>
Re-read the KVO Programming Guide and the Cocoa Bindings Programming Guide, and review the myriad examples that show how to do this to see how yours differs.
Seeing the code you're using to modify the subscriptions property would also be useful.
mmalc
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden