• 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] = null!!!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [NSApp mainMenu] = null!!!


  • Subject: Re: [NSApp mainMenu] = null!!!
  • From: Shawn Erickson <email@hidden>
  • Date: Sat, 20 Jan 2007 13:35:50 -0800


On Jan 20, 2007, at 1:00 PM, Daniel R. Killoran,Ph.D. wrote:

Just prior to this call, I tried calling

	NSApp = [NSApplication sharedApplication];

and got

*** Assertion failure in -[NSApplication init], AppKit.subproj/ NSApplication.m:1023
Creating more than one Application


Besides, I think NSApp is supposed to be zero before being set by NSApplication, and it isn't.

Are you doing this from a secondary thread?

-Shawn
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: [NSApp mainMenu] = null!!!
      • From: "Daniel R. Killoran,Ph.D." <email@hidden>
References: 
 >[NSApp mainMenu] = null!!! (From: "Daniel R. Killoran,Ph.D." <email@hidden>)
 >Re: [NSApp mainMenu] = null!!! (From: Sherm Pendley <email@hidden>)
 >Re: [NSApp mainMenu] = null!!! (From: "Daniel R. Killoran,Ph.D." <email@hidden>)

  • Prev by Date: Re: Synchronized NSTableViews
  • Next by Date: Re: [NSApp mainMenu] = null!!!
  • Previous by thread: Re: [NSApp mainMenu] = null!!!
  • Next by thread: Re: [NSApp mainMenu] = null!!!
  • Index(es):
    • Date
    • Thread