• 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
Is there an NSCollectionView selection change notification?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is there an NSCollectionView selection change notification?


  • Subject: Is there an NSCollectionView selection change notification?
  • From: Markus Spoettl <email@hidden>
  • Date: Sun, 18 May 2008 19:41:16 -0700

Hello List,

I've started playing with NSCollectionView and everything worked out beautifully (custom views, selection state handling for items etc.). One thing I can't figure out is how my application/document gets notified about a change of selection.

I could go through the NSCollectionViewItem:setSelected: property setter (which I'm implementing to probagate the selected state to the view) and notify the proper authorities in my application. However, that just isn't proper design and there must be a much better solution. There is no documentation on delegate methods or notifications for NSCollectionView, so I'm wondering how one gets notified about things like that.

I have a feeling there's something I'm overlooking here. Is there?

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: Is there an NSCollectionView selection change notification?
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: Cocoa et al as HCI usability problem
  • Next by Date: Re: Cocoa et al as HCI usability problem
  • Previous by thread: Re: XML schema support
  • Next by thread: Re: Is there an NSCollectionView selection change notification?
  • Index(es):
    • Date
    • Thread