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

How to recover from Mac Book Pro catastrophes

Synopsis DISCLAIMER: This article applies to Intel based MacBook Pro 4th generation models with a Touch Bar (2006-2020.) The methodology giv...