• 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
KVO Problem with NSCollectionView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

KVO Problem with NSCollectionView


  • Subject: KVO Problem with NSCollectionView
  • From: Joachim Deelen <email@hidden>
  • Date: Wed, 16 Apr 2008 19:50:41 +0200

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@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:
    • Repost: KVO Problem with NSCollectionView
      • From: Joachim Deelen <email@hidden>
  • Prev by Date: Re: NSAllocateCollectable() questions
  • Next by Date: Re: Memory leak when re-alloc Methods
  • Previous by thread: Re: printing in Cocoa
  • Next by thread: Repost: KVO Problem with NSCollectionView
  • Index(es):
    • Date
    • Thread