Re: NSCollectionView deselection

2011-07-13 Thread arri
i was struggling with this, when i happened to stumble across a remark from someone on the cocoadev-forums that hit the nail right on the head: " … Also, you didn't call super's -setSelected: within your override … " http://cocoadev.com/forums/discussion/comment/2190#Comment_2190 So, in your imp

Re: NSCollectionView deselection

2010-03-02 Thread Thomas Davie
On 2 Mar 2010, at 04:03, Markus Spoettl 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

Re: NSCollectionView deselection

2010-03-02 Thread Thomas Davie
On 2 Mar 2010, at 14:39, Markus Spoettl wrote: > 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

Re: NSCollectionView deselection

2010-03-02 Thread Markus Spoettl
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'

Re: NSCollectionView deselection

2010-03-02 Thread Markus Spoettl
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 :(. >> >> >> Work

Re: NSCollectionView deselection

2010-03-01 Thread Markus Spoettl
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