• 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 09:39:39 -0500

On Mar 2, 2010, at 3:36 AM, Thomas Davie wrote:
>> On Mar 1, 2010, at 2:42 PM, Thomas Davie wrote:
>>> However, when the user clicks on item B after clicking on item A, setSelected:NO is *not* sent to the NSCollectienViewItem subclass for A.  This displeases me greatly :(.
>>
>>
>> Works fine for me. Are you sure it's not called/set? Put a breakpoint into the setter into the setter of your NSCollectienViewItem subclass to find out.
>
> Hmm, that's exactly how I'm finding out that it's not being called :/


Then it actually may not be deselected. Are you sure it is being deselected? What controls your selection? What is your binding setup? Do you have multi-selection enabled? Maybe something is wrong with the selectionIndexes of the NSArrayController which I presume provides the content of the collection view and the selection. You're not saying what your setup is like.

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

  • Follow-Ups:
    • Re: NSCollectionView deselection
      • From: Thomas Davie <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>)

  • Prev by Date: Re: what is a bindings pattern to check for a non-empty selection?
  • Next by Date: WebKit Plugin issues
  • Previous by thread: Re: NSCollectionView deselection
  • Next by thread: Re: NSCollectionView deselection
  • Index(es):
    • Date
    • Thread