I don't see any method for testing if an object is selected, other than to 
first get the index of the object in the backing NSArray, then see if that 
index is in the NSArrayController's selectedIndexes. Is this really the way to 
test to see if an object is selected?

I'm building a view that renders a bunch of objects (a drawing canvas). Some of 
these render differently if the objects are selected. As I iterate through the 
list of objects to render, I need to test if each one is selected.

Am I missing something? Thanks.

-- 
Rick Mann
rm...@latencyzero.com



_______________________________________________

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

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

Reply via email to