Re: Expanding all Nodes in an NSOutlineView on Load
Re: Expanding all Nodes in an NSOutlineView on Load
- Subject: Re: Expanding all Nodes in an NSOutlineView on Load
- From: Scott Anguish <email@hidden>
- Date: Tue, 23 Oct 2007 12:38:17 -0400
On Oct 23, 2007, at 12:07 PM, Doug Knowles wrote:
You'll need to subclass NSWindowController and override
windowDidLoad, then
ensure that your subclass is instantiated to load the nib. It may be
necessary to ensure that your nib file specifies the class of the
"File's
Owner" to be your NSWindowController subclass.
Why not just override the NSDocument windowControllerDidLoadNib:
method in your NSDocument subclass and then use a delayed perform
[theAppropriateTarget performSelector:@selector(expandMyNodes:)
withObject:theAppropriateObject :0.0f];
_______________________________________________
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