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 (Cocoa-dev@lists.apple.com)

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]

Reply via email to