• 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: Programatically creating NSMenu?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Programatically creating NSMenu?


  • Subject: Re: Programatically creating NSMenu?
  • From: Kyle Sluder <email@hidden>
  • Date: Wed, 8 Apr 2009 12:19:43 -0400

On Wed, Apr 8, 2009 at 9:13 AM, Daqi Pei <email@hidden> wrote:
> Again I'm doing this only to understand how the system works. Did I miss
> something or it's just the way the framework was designed?

This happens when the runtime can't find the main nib as specified in
the Info.plist -- or, for that matter, when the Info.plist doesn't
have a main nib key or is missing altogether.  Applications on OS X
must exist in an app bundle, with a valid Info.plist.  Cocoa
Applications specifically must have a main nib.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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

References: 
 >Programatically creating NSMenu? (From: Daqi Pei <email@hidden>)

  • Prev by Date: Re: Storing bundle loaded main class instances in NSArray
  • Next by Date: Re: Programatically creating NSMenu?
  • Previous by thread: Re: Programatically creating NSMenu?
  • Next by thread: Re: Programatically creating NSMenu?
  • Index(es):
    • Date
    • Thread