If you want your own company name to be automatically included in your XCode source files instead of this:
// // helloworld.m // helloworld // // Created by John Smith on 24/10/09. // Copyright __MyCompanyName__ 2009. All rights reserved. //
then it is time to open up your Terminal app.
You will find it at ~/Applications/Utilities/Terminal.app.
Enter the following in the open terminal (replacing the company name with yours):
defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions '{"ORGANIZATIONNAME" = "Smith Incorporated";}'
Now when you create new source files in XCode you will see this:
// // helloworld.m // helloworld // // Created by John Smith on 24/10/09. // Copyright Smith Incorporated 2009. All rights reserved. //
Much better.


Post a Comment