Re: Controller and NIB
Re: Controller and NIB
- Subject: Re: Controller and NIB
- From: "J. Todd Slack" <email@hidden>
- Date: Tue, 28 Oct 2008 15:09:20 -0700
Hi Nick,
On Oct 28, 2008, at 3:09 PM, J. Todd Slack wrote:
I have a controller.m and it has an awakeFromNib method.
I have a NIB that is loaded on startup (specified in info.plist)
I have code that is not getting called in awakeFromNib when the Nib
is loaded.
What am I forgetting to setup?
-awakeFromNib is only called when an object is instantiated by a
nib, and the nib is loaded. Are you sure the object is being
correctly instantiated?
What is a full proof way to have code executed when a NIB is loaded?
When my MainMenu.nib displays its Window, I want to execute some code.
-Jason
_______________________________________________
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