• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSCollectionView file promise drag & drop and selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSCollectionView file promise drag & drop and selection


  • Subject: Re: NSCollectionView file promise drag & drop and selection
  • From: Markus Spoettl <email@hidden>
  • Date: Fri, 1 Oct 2010 00:19:36 -0700

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 (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

  • Follow-Ups:
    • Re: NSCollectionView file promise drag & drop and selection
      • From: Nick Zitzmann <email@hidden>
  • Next by Date: Re: Continuously running daemon process CFConstantStringRefs build up over time
  • Next by thread: Re: NSCollectionView file promise drag & drop and selection
  • Index(es):
    • Date
    • Thread