NSOutlineView - how to have a default item selected
NSOutlineView - how to have a default item selected
- Subject: NSOutlineView - how to have a default item selected
- From: Boyd Collier <email@hidden>
- Date: Wed, 25 Nov 2009 15:48:20 -0800
Mario KuĆĄnjer's question reminded me of a question that I've been
pondering about NSOutlineViews, namely, is there a way to have one
item on the outline initialized in the selected state when the outline
is first created? That is, when the window containing the outline is
first displayed to the user, what I would like is for the first item
in my outline to already show as selected. Seems like there should be
a simple way of doing this, but if so, I've not yet discovered it. I
have a small test project based on code that Itai Ferber was kind
enough to send me, and I would be more than happy to make it available
to anyone who would be interested in looking at it.
Boyd_______________________________________________
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