One Quickie

Changing __MyCompanyName__ (Xcode->Hacks)
You've probably noticed that source files generated from within XCode include a comment block header:
//  TapDance.h
//  Groovilicous
//  Created by markd on 7/25/08.
//  Copyright 2008 __MyCompanyName__. All rights reserved.
With the __MyCompanyName__ placeholder. There is no UI to change this, for obvious reasons. (Why would anyone want to easily and conveniently change something they'll otherwise need to edit in each and every source file they create. That's unpossible). The obvious solution is to drop to the terminal and run the straightforward command:
% defaults write PBXCustomTemplateMacroDefinitions '{"ORGANIZATIONNAME" = "Borkware";}'
Seemple, no? Zee trick, she is doone.

borkware home | products | miniblog | rants | quickies | cocoaheads
Advanced Mac OS X Programming book