Re: [NSApp mainMenu] returns nil under 10.4.3
Re: [NSApp mainMenu] returns nil under 10.4.3
- Subject: Re: [NSApp mainMenu] returns nil under 10.4.3
- From: "John C. Randolph" <email@hidden>
- Date: Tue, 29 Nov 2005 00:05:12 -0800
On Nov 28, 2005, at 7:04 AM, Alex Fischer wrote:
Hi:
I am having problems with an app under Mac OS X 10.4.3 and would
like to know if some has an explanation:
I have an application that is developed without using a NIB (please
do not complain about that, I know it is not the usual way to go)
As you've just discovered, that means that you can't depend on any
initialization being done for you.
Debugging the application and trying to access [NSApp mainMenu]
returns nil on 10.4.3.
Is that change correct or am I doing something wrong. Why does it
work on 10.4.2.
Any ideas?
Since you're not using a .nib file, how do you expect the "mainMenu"
outlet to ever get connected?
I have no idea why it works on 10.4.2. That's probably a bug.
-jcr
John C. Randolph <email@hidden> (408) 914-0013
Roaming Cocoa Engineer,
Available for your projects at great Expense and Inconvenience.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden