• 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 deselection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSCollectionView deselection


  • Subject: Re: NSCollectionView deselection
  • From: Markus Spoettl <email@hidden>
  • Date: Tue, 2 Mar 2010 14:25:11 -0500

On Mar 2, 2010, at 10:52 AM, Thomas Davie wrote:
> The NSCollectionView certainly *thought* it was being deselected – if the user clicks A, then A again, only one setSelected:YES gets sent, if the user clicks A, then B, then A again, setSelected:YES gets sent to A twice and B once.
>
> I've worked around this now by writing an NSCollectionView subclass with my own selection and drag/drop code.

You shouldn't need to work around this because this just works when everything is set up correctly. The fact that it doesn't work for you indicates that there's something wrong with your setup. You don't give any details on how everything is set up in your case.

Regards
Markus
--
__________________________________________
Markus Spoettl

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

References: 
 >NSCollectionView deselection (From: Thomas Davie <email@hidden>)
 >Re: NSCollectionView deselection (From: Markus Spoettl <email@hidden>)
 >Re: NSCollectionView deselection (From: Thomas Davie <email@hidden>)
 >Re: NSCollectionView deselection (From: Markus Spoettl <email@hidden>)
 >Re: NSCollectionView deselection (From: Thomas Davie <email@hidden>)

  • Prev by Date: Re: Popup Menus (was: XCode's Special Buttons)
  • Next by Date: Trying to achieve aperture PopUp buttons
  • Previous by thread: Re: NSCollectionView deselection
  • Next by thread: Custom NSCell
  • Index(es):
    • Date
    • Thread