Re: Controller and NIB
Re: Controller and NIB
- Subject: Re: Controller and NIB
- From: Nick Zitzmann <email@hidden>
- Date: Tue, 28 Oct 2008 16:16:04 -0600
On Oct 28, 2008, at 4:09 PM, J. Todd Slack wrote:
What is a full proof way to have code executed when a NIB is loaded?
There aren't any notifications for loading nibs other than -
awakeFromNib.
When my MainMenu.nib displays its Window, I want to execute some code.
You could do a one-time registry for the window's
NSWindowDidBecomeKeyNotification.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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