NSOutlineView initial expansion
NSOutlineView initial expansion
- Subject: NSOutlineView initial expansion
- From: Andrew Shamel <email@hidden>
- Date: Wed, 3 Dec 2008 13:36:56 -0800
I've trolled through the archives looking for help on this, but I
can't seem to find anything that quite works. I'm trying to set it up
such that an NSOutlineView starts out fully expanded. In the
delegate, I have the following code:
- (void)awakeFromNib
{
[outline expandItem:nil expandChildren:YES];
}
I feel like I'm missing something rather obvious, since the same code
works when it's attached to a button. Is there a better place to put
it than in awakeFromNib:?
Thank you so much both for your help and your patience.
Peace,
Andy
_______________________________________________
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