• 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: How do start from scratch?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do start from scratch?


  • Subject: Re: How do start from scratch?
  • From: Jyrki Wahlstedt <email@hidden>
  • Date: Wed, 15 Aug 2007 14:10:26 +0300


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




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >How do start from scratch? (From: Bob Ueland <email@hidden>)

  • Prev by Date: How do start from scratch?
  • Next by Date: X-Code project Settings
  • Previous by thread: How do start from scratch?
  • Next by thread: About Xcode Project Templates [was: How do start from scratch?]
  • Index(es):
    • Date
    • Thread