Re: binding to number of selected rows in a table
Re: binding to number of selected rows in a table
- Subject: Re: binding to number of selected rows in a table
- From: Jerry Krinock <email@hidden>
- Date: Wed, 4 Mar 2009 11:35:57 -0800
On 2009 Mar 04, at 08:21, Corbin Dunn wrote:
Cocoa does not support binding to view properties like this. Most
are not KVC compliant.
But you can make them KVO-compliant as I described yesterday. It's a
slight kludge, but I think of it as a necessary "bridge" from the old
world of dataSource to the new world of bindings.
So, if you are already using NSTreeController, observe it instead of
NSOutlineView. Otherwise, either replace your dataSource with
NSTreeController, or else use the bridge/kludge.
_______________________________________________
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