Re: NSOutlineView initial expansion
Re: NSOutlineView initial expansion
- Subject: Re: NSOutlineView initial expansion
- From: Andrew Shamel <email@hidden>
- Date: Wed, 3 Dec 2008 22:09:43 -0800
Ahh, brilliant!! It worked a treat.
Thanks so much!
Try delaying your call to expandItem: in your awakeFromNib.
- (void)expandAllItems {
[outline expandItem:nil expandChildren:YES];
}
- (void)awakeFromNib {
/* snip */
[self performSelector:@selector(expandAllItems) withObject:nil
afterDelay:0.0];
}
_______________________________________________
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