Re: Creating a Cocoa Window in code
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