Responding to changes in outline view
Responding to changes in outline view
- Subject: Responding to changes in outline view
- From: Rick Mann <email@hidden>
- Date: Tue, 11 Jan 2011 17:32:33 -0800
i found two examples so far (one using notifications, one KVO) for responding to changes in a table view's selection.
I tried the KVO approach in the sample code NSTabelViewBinding. It sets up KVO on the array controller:
[myContentArray addObserver: self
forKeyPath: @"selectionIndexes"
options: NSKeyValueObservingOptionNew
context: NULL];
I tried to do the same on my NSTreeController, but I'm not getting called. What do I need to do?
TIA,
Rick
_______________________________________________
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