Make sure you're spelling the method signature 100% correctly.
I myself have made a minor typo in a method (many times, who hasn't?)
and then spent the next 20 minutes or longer bashing my head looking
for my mistake.
Spelling counts 100%
Capitalization ( my mistake has often been NIB instead
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 subclas
On 29 Oct 2008, at 9:09 am, J. Todd Slack wrote:
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.
If you have an object in the nib, its -awakeFromNib method will be
called. The object can be an inst
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-ti
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 setu
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?
-awa
Hi All,
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? I need to run some code after the nib
has loaded.