On Sep 30, 2010, at 4:25 PM, Nick Zitzmann wrote:
> I searched for answers for these two questions and did not find anything 
> pertinent:
> 
> 1. I noticed that, on Snow Leopard, when the user clicks on a collection view 
> item, the item is selected, but it doesn't do this on Leopard. Instead, on 
> Leopard, the only way to select an item is to click and drag to select items. 

Are you sure that is the case? My collection views work the same on Leopard and 
Snow Leopard. Sometimes confusion arises around how the selection status 
propagated to the view representing the collection view item. One way to 
reliably do this is by subclassing NSCollectionViewItem and overriding 
-setSelected: and letting the view that represents the item know the selection 
status has changed. The question is is how your view gets notified about 
selection changes of the item it represents?

Just guessing here but maybe something in your setup accidentally triggers a 
re-draw of the view after its item's selection status has changed and that 
event doesn't happen on Leopard so the view's representation remains the same.

Regards
Markus
--
__________________________________________
Markus Spoettl

_______________________________________________

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