NsCollectionView Selection
NsCollectionView Selection
- Subject: NsCollectionView Selection
- From: Sandro Noel <email@hidden>
- Date: Mon, 19 Jan 2009 22:42:47 -0500
Greetings.
I'm using NSCollectionView in my application.
I've defined the represented object's layout in interface builder.
and now everything displays nicely on screen
with a couple of exceptions.
When I select an element, there is no selection indicator to show the
selected item.
( blue color in the background ) like all the other applications on my
Mac.
and when i click on one of the elements in the represented object,
wether it might be an image or a Label the selection does not happen.
How can i avoid that?
I've looked at apple's documentation on NSCollectionView and well,
it's kind of thin.
I've also looked at the example provided by apple, but they use and
NSBox as the represented object view and
the transparent property to show selection, witch is kind of cheep.
I was wondering, if i want to have a nice selection indicator, with
the common colors of the current system
what is it that i have to do ?
do I have to subclass the NSView and implement my own drawing routines?
do I have to implement a controller for the view?
Can someone point me in he right direction :) please?
regards
Sandro Noel.
_______________________________________________
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