• 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: Creating a Cocoa Window in code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating a Cocoa Window in code


  • Subject: Re: Creating a Cocoa Window in code
  • From: "Felipe Monteiro de Carvalho" <email@hidden>
  • Date: Fri, 18 Jan 2008 14:03:23 +0100

On Jan 18, 2008 1:54 PM, Michael Watson <email@hidden> wrote:
> You have "MainMenu" specified for the main nib in the application
> target.

A nib is platform specific. The whole point of the project is to
implement a platform independent library, so adding nibs is against
that objective. In other words: There is no nib on the project, just
like there is no .rc windows resource.

>   return  NSApplicationMain(argc, (const char **)argv);

That crashes the application. Maybe because there is no nib file.
Anyway, this part of the application is changed on the last version,
you quoted an old version.

thanks,
--
Felipe Monteiro de Carvalho
_______________________________________________

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

  • Follow-Ups:
    • Re: Creating a Cocoa Window in code
      • From: mmalc crawford <email@hidden>
References: 
 >Creating a Cocoa Window in code (From: "Felipe Monteiro de Carvalho" <email@hidden>)
 >Re: Creating a Cocoa Window in code (From: Andrew Farmer <email@hidden>)
 >Re: Creating a Cocoa Window in code (From: "Felipe Monteiro de Carvalho" <email@hidden>)
 >Re: Creating a Cocoa Window in code (From: Michael Watson <email@hidden>)

  • Prev by Date: Re: Creating a Cocoa Window in code
  • Next by Date: Re: where's "System Font Text" in Xcode3?
  • Previous by thread: Re: Creating a Cocoa Window in code
  • Next by thread: Re: Creating a Cocoa Window in code
  • Index(es):
    • Date
    • Thread