Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSCollectionView and default selections ...



Hi,

I'm having a small problem with a NSCollectionView.

I used Apple's example (Icon Collection) to setup my collection view, and mimicked it in almost all ways. I am happy with everything except that in Apple's example the first item in the collection is always selected, yet on mine I have to click into the collection then onto the first item to select it. I have searched around in the code behind Apple's example for the last couple of hours, and have spent a while searching on Google but I can't for the life of me find out how to have the collection view select the first item in the view by default, just like in Apple's example.

All help on this will be greatly appreciated.

Thanks

-Mic
_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.