• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [NSApp mainMenu] returns nil under 10.4.3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: [NSApp mainMenu] returns nil under 10.4.3
      • From: Uli Kusterer <email@hidden>
    • Re: [NSApp mainMenu] returns nil under 10.4.3
      • From: Alex Fischer <email@hidden>
References: 
 >[NSApp mainMenu] returns nil under 10.4.3 (From: Alex Fischer <email@hidden>)

  • Prev by Date: Re: Core Data Fetch request very poor performance ??!
  • Next by Date: Re: [NSApp mainMenu] returns nil
  • Previous by thread: [NSApp mainMenu] returns nil under 10.4.3
  • Next by thread: Re: [NSApp mainMenu] returns nil under 10.4.3
  • Index(es):
    • Date
    • Thread