• 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: Selections in NSCollectionView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Selections in NSCollectionView


  • Subject: Re: Selections in NSCollectionView
  • From: Ingvar Nedrebo <email@hidden>
  • Date: Wed, 28 Nov 2007 11:10:29 +0000

Have you looked at NSCollectionView's -content method?

On Nov 27, 2007, at 23:49, Tom Harrington wrote:

I'm trying to use NSCollectionView, and I want to provide visual
feedback for the selected item(s) in the collection.  The collection
view is set to be selectable, and I can find out the selected indexes
just by asking it.

Getting from there to the selected NSViews, I get stuck.  I thought
maybe I could ask the NSCollectionView for its subviews and go from
there, but the -subviews array isn't sorted to match the selected
indexes (I know it's not documented to be that way but I didn't know
what else to try).  My NSView subclass can indicate that it's
selected, I just can't figure out how to tell the appropriate views
that they should do this.

-- Tom Harrington
email@hidden
AIM: atomicbird1
_______________________________________________


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:
@iriz.net


This email sent to email@hidden



_______________________________________________

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: Selections in NSCollectionView
      • From: "Tom Harrington" <email@hidden>
References: 
 >Selections in NSCollectionView (From: "Tom Harrington" <email@hidden>)

  • Prev by Date: Re: CALayer - delegate not being called?
  • Next by Date: Storing NSColor & NSData objects in an XML document
  • Previous by thread: Selections in NSCollectionView
  • Next by thread: Re: Selections in NSCollectionView
  • Index(es):
    • Date
    • Thread