On 15.8.2007, at 13.57, Bob Ueland wrote:
> When I start a new project named Test2 and choose main.m I get a
> non empty file that looks like this
>
> //
> // main.m
> // Test2
> //
> // Created by Bob Ueland on 8/15/07.
> // Copyright __MyCompanyName__ 2007. All rights reserved.
> //
>
> #import
<Cocoa/Cocoa.h>
>
> int main(int argc, char *argv[])
> {
> return NSApplicationMain(argc, (const char **) argv);
> }
>
> But I want to start with an empty file, or a default of my own
> choosing and not the one that Xcode provides. Is there any way to
> do that.
>
> Thanks Bob
>
Hi,
have you checked, what difference it makes to choose the project
type? This main.m file looks like Cocoa application. You can also
play with project templates (this file is found in /Library/
Application\ Support/Apple/Developer\ Tools/Project\ Templates/
Application/Cocoa\ Application/main.m).
!
! Jyrki Wahlstedt
!
http://www.wahlstedt.fi/jyrki/!
! Our life is no dream; but it ought to
become one and perhaps will.
! PGP key ID: 0x139CC386 fingerprint: F355 B46F 026C B8C1 89C0 A780
6366 EFD9 139C C386