XCode Tip: Permanently Changing _myCompanyName__

Heya guys,

OK Im back on the blogging bandwagon, after a somewhat lengthy hiatus. Ok, this is a quick tip. You know in XCode, how at the top of the header and implementation file you get something like :

// Class.m
// Product
// Created by Doron Katz on 18/09/09.
// Copyright 2009 __MyCompanyName__. All rights reserved.

Using terminal we can set __MyCompanyName__ permanently to a new name, preferably your company or group name, by typing in the following:

defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions‚ě•

‘{“ORGANIZATIONNAME” = “Doronkatz.com”;}’

That was quick!.

OK, well my plan is to start publishing XCode and iPhone/Objective-C tutorials and tips, in addition to my Flex tutorials, from now on, so stay tuned.
This entry was posted in General and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s