On 09/12/2011, at 8:22 AM, Gilles Celli wrote:

> how do I detect which set if NSButtonCells are active ?


You need to track that in your dataSource, NSOutlineView will not do it for you.

As Quincey suggested, when your dataSource method 
-outlineView:setObjectValue:forTableColumn:byItem: is invoked, you have all the 
necessary information about the new state of that item. You dataSource uses 
that information to track the states - in this case if it has a 
NS(Mutable)IndexSet, you would figure out which index the item corresponds to 
and set or clear that index according to the objectValue of the item.


--Graham_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to