On Tue, Oct 28, 2008 at 3:09 PM, J. Todd Slack <[EMAIL PROTECTED]> wrote:
> What is a full proof way to have code executed when a NIB is loaded? By loading it yourself, by implementing the supported delegate method if NSApplication is the one loading it, by implementing windowDidLoad in a subclassing NSWindowController, etc. It depends on who is loading the NIB. > When my MainMenu.nib displays its Window, I want to execute some code. In this particular case look at the delegate methods of NSApplication. In particular applicationDidFinishLaunching:. -Shawn _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
