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: Uli Kusterer <email@hidden>
- Date: Tue, 29 Nov 2005 11:00:19 +0100
Am 29.11.2005 um 09:05 schrieb John C. Randolph:
On Nov 28, 2005, at 7:04 AM, Alex Fischer wrote:
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.
It's probably Carbon (and no, I'm not repeating what you just said
here ;-) ). NSMenu seems to be based on code rewritten for Carbon,
and in Carbon, you automatically get a set of minimal menu items from
the framework. They probably just changed it to not automatically
create the corresponding Cocoa objects.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
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