Wednesday, May 27, 2009

MyCompanyName

All files XCode creates , includes a copyright notice in the form of __MyCompanyName__:

//

// MyFile.h

// MyProject

//

// Created by Joe Smith on 27/05/09.

// Copyright 2009 __MyCompanyName__. All rights reserved.

//


This setting can be modified using defaults, the command line tool for editing system and application preferences. Open the terminal application and enter the following:

defaults write com.apple.xcode \
PBXCustomTemplateMacroDefinitions \
'{ ORGANIZATIONNAME = "Ergun's Playground"; }'

The new file heading will appear as:

//

// MyFile.h

// MyProject

//

// Created by Joe Smith on 27/05/09.

// Copyright 2009 Ergun's Playground. All rights reserved.

//


No comments:

Post a Comment

iTerm2 - How to auto-close sessions and auto-exit when last one closed

 Problem There are two problems when you close sessions and windows in ITerm2. When you gracefully exit from ITerm2 sessions with a recommen...