FROM : Joachim Deelen
DATE : Sun Apr 20 19:34:15 2008
Hi Again,
does really no one have a solution or a hint for the Problem mentioned
below? Maybe I'm understanding something wrong? Any help or Ideas
would be appreciated
Thanks
Joachim Deelen
Anfang der weitergeleiteten E-Mail:
> Von: Joachim Deelen <<email_removed>>
> Datum: 16. April 2008 19:50:41 MESZ
> An: cocoa devlist devlist <<email_removed>>
> Betreff: KVO Problem with NSCollectionView
>
> Hi all,
>
> I'm having problems with KVO and a NSCollectionView. As far as I
> know should the Property "selctionIndexes" be KVO compliant. I've
> added an Observer and it gets called, every time I'm sending
> "setSelectionIndexes" to the Collection view. But if I set the
> selection directly on a NSCollectionViewItem, using the
> "setSelected"-Message, the "selectionIndexes" gets changed but the
> KV-Observer is not being called. Does KVO in this case mean, that
> the Observer only gets triggered, when the NSIndexSet Object is
> replaced with another? I expected that KVO gets triggered, each time
> the content of the IndexSet is changed.
>
> regards
> Joachim Deelen
>
> AQUARIUS-software
> http://www.aquarius-software.de
>
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (<email_removed>)
>
> 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/<email_removed>
>
> This email sent to <email_removed>
DATE : Sun Apr 20 19:34:15 2008
Hi Again,
does really no one have a solution or a hint for the Problem mentioned
below? Maybe I'm understanding something wrong? Any help or Ideas
would be appreciated
Thanks
Joachim Deelen
Anfang der weitergeleiteten E-Mail:
> Von: Joachim Deelen <<email_removed>>
> Datum: 16. April 2008 19:50:41 MESZ
> An: cocoa devlist devlist <<email_removed>>
> Betreff: KVO Problem with NSCollectionView
>
> Hi all,
>
> I'm having problems with KVO and a NSCollectionView. As far as I
> know should the Property "selctionIndexes" be KVO compliant. I've
> added an Observer and it gets called, every time I'm sending
> "setSelectionIndexes" to the Collection view. But if I set the
> selection directly on a NSCollectionViewItem, using the
> "setSelected"-Message, the "selectionIndexes" gets changed but the
> KV-Observer is not being called. Does KVO in this case mean, that
> the Observer only gets triggered, when the NSIndexSet Object is
> replaced with another? I expected that KVO gets triggered, each time
> the content of the IndexSet is changed.
>
> regards
> Joachim Deelen
>
> AQUARIUS-software
> http://www.aquarius-software.de
>
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (<email_removed>)
>
> 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/<email_removed>
>
> This email sent to <email_removed>
| Related mails | Author | Date |
|---|---|---|
| Joachim Deelen | Apr 16, 19:50 | |
| Joachim Deelen | Apr 20, 19:34 | |
| Hamish Allan | Apr 20, 22:08 | |
| Joachim Deelen | Apr 21, 00:22 |






Cocoa mail archive

