Re: NSDocument:windowControllerDidLoadNib && When are outlets connected to te loaded nib?
Re: NSDocument:windowControllerDidLoadNib && When are outlets connected to te loaded nib?
- Subject: Re: NSDocument:windowControllerDidLoadNib && When are outlets connected to te loaded nib?
- From: Bill Cheeseman <email@hidden>
- Date: Fri, 16 Aug 2002 11:24:12 -0400
on 02-08-16 11:10 AM, Ondra Cada at email@hidden wrote:
>
On Friday, August 16, 2002, at 04:52 , Gerben Wierda wrote:
>
>
> And more: at what moment can I trust that outlets in my
>
> NSWindowController subclass are connected (have a non-nil value)?
>
>
Preferrably, in its -awakeFromNib.
But NSDocument's windowControllerDidLoadNib is available when you want the
document to notice that the nib loaded. It should work just as well as
awakeFromNib.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont -
http://members.valley.net/croquetvermont
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.