• 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 to change the template of the header comment on source files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to change the template of the header comment on source files


  • Subject: Re: How to change the template of the header comment on source files
  • From: Jason Stephenson <email@hidden>
  • Date: Sat, 26 Apr 2008 15:49:37 -0400

Daniel Luis dos Santos wrote:
Is it possible ?

Yes.

As Jean-Daniel Dupas has mentioned, you will find the various template files in /Developer/Library/Xcode/File Templates/. There will be subdirectories under that directory for the various languages and then for the templates themselves.

Douglas Norton suggested searching for how to set your company name in Xcode help. I did this, and found the user default guide.

If all you want to change is the __CompanyName__ that appears in headers, then something like the following on the command line will do:

defaults write com.apple.Xcode  PBXCustomTemplateMacroDefinitions \
-dict ORGANIZATIONNAME "Your Company Name"

Cheers,
Jason


_______________________________________________ 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 to change the template of the header comment on source files (From: Daniel Luis dos Santos <email@hidden>)

  • Prev by Date: Eclipse Rather than XCode?
  • Next by Date: Re: Linking error--duplicate symbol, Xcode 3.0
  • Previous by thread: Re: How to change the template of the header comment on source files
  • Next by thread: Linking error--duplicate symbol, Xcode 3.0
  • Index(es):
    • Date
    • Thread