Re: binding to number of selected rows in a table [solved]
Re: binding to number of selected rows in a table [solved]
- Subject: Re: binding to number of selected rows in a table [solved]
- From: James Walker <email@hidden>
- Date: Wed, 04 Mar 2009 11:39:53 -0800
Thanks to Jerry Krinock, Sean McBride, and Corbin Dunn for the replies.
NSTreeController didn't seem to be a good fit for my data, so here's
how I did it:
* Add an NSMutableIndexSet* member to my controller, to store the selection.
* Add KVO-friendly accessors for that index set.
* Update the index set (using the setter) in the
outlineViewSelectionDidChange: delegate method.
--
James W. Walker, Innoventive Software LLC
<http://www.frameforge3d.com/>
_______________________________________________
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