Changing __MyCompanyName__ in XCode
Scenario
You start a new project in XCode, and it rather cutely picks up your name from the Address Book, and attributes you as the creator of the auto-generated code. However, in a rather sterile fashion, it tells you that the code is the copyright to __MyCompanyName__.
// Created by John Doe on 04/10/2009
// Copyright __MyCompanyName__ 2009. All rights reserved.
I can think of things I would rather set this to, so how can we change it, without editing every file that is created?
Solutions
1. Changing the company name of code that you write, in Address Book
Unsurprisingly, XCode also grabs your company information from your Address Book entry.
Open Address Book, and make sure you have entered a name in the Company field on your own Card.

XCode will check this field when creating new projects and files, and enter your assigned Company of the copyright owner of the work you create.
This may or may not be what you want to achieve.
2. Changing the default value for company names
If you would rather not have a company name in your Address Book, or if you don’t want the copyright of your code attributed to that company name, you can change the default value XCode uses. You might, for example, prefer to use your own name in the copyright line.
Open a Terminal window, and type the following command (on a single line):
defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions -dict ORGANIZATIONNAME "Funky Monkey Futures, Inc"
This will result in all new files having your chosen company name in the copyright attribution, regardless of your Address Book entry.
// Created by John Doe on 04/10/2009
// Copyright Funky Monkey Futures, Inc 2009. All rights reserved.
Note: This option will override your Address Book settings, rather than act as a default if that setting is missing.
Disclaimer
The above information is true as of XCode 3.1 running on Leopard.
In: Development · Tagged with: tip, XCode
first look at the Murtaya
So, you drive an MG TF 160, and enjoy it… fancy the challenge of a self-build project… and want to try out an open top, turbo-charged, four wheel drive sports car with design intentions towards road, track, and rally courses… only one car ticks every box…
Adrenaline Motorsport‘s Murtaya

Murtaya (photo by AMS)
The Murtaya is built upon Subaru’s Impreza drivetrain, weighs around 30% less, and will apparently pull out a 4 second 0-60 mph from an STi variant of the Impreza donor. Add to that a proven and reliable four wheel drive formula on top of a chassis design by Daniel Muir whose past credits include working on the original Lotus Elise and Aston Martin DB9 (and whose name is chopped up to give the MUR in the murtaya name); it starts to add up to an option which cannot be ignored. On paper, this car ticks every box.
So, let’s talk to some people. Tom Taylor (the TA of Murtaya) was most helpful on the phone, and sent me information about the three stage modular kit and the donor car requirements. He was very keen that I find myself a high quality donor, and willing to lend advice on that matter as well. He also said that he would arrange to collect me from, and return me to, his local Newquay Airport if I were to fly down to test drive the car. An offer that I may yet take him up on.
If I am to drive the car, however, it would be easier to make use of AMS’ Scottish distributor, Bitz Motorsport, and it was Bitz’s Dave Tennant that I spoke to next. They are putting the finishing touches to a WRX based Murtaya and hope to have it completed and tested in the next few weeks. It is probably a little easier to drive to Nairn than to fly to Newquay, so Dave Tennant will keep me up to date with how their build is going.
Impatience slightly got the better of me, and while waiting for a chance to to test drive the Murtaya, I made my first purchase. Complete Kit Car magazine build a Murtaya in 2007/08 and had handily compiled a series of build articles for sale. SOLD. I now have some bedtime reading, just as soon as I print them out.
Now I just need to drive the car!
Running Costs:
Complete Kit Car – Murtaya Build CD – £6.50
Total: £6.50
Projected Costs:
Subaru Impreza Turbo/WRX/STi – £2000 (estimate)
Murtaya Module 1 – £7450 + VAT (£8767.50)
Murtaya Module 2 – £3250 + VAT (£3737.50)
Murtaya Module 3 – £1750 + VAT (£2012.50)
Total: £16,517.50
Projected Final Cost: £16,524
things you didn’t know about yourself
Do you know what people know about you?
Worse still… do you know what people think they know about you?
Beacon Dodsworth are a seller of geographical demographics. Sound harmless. Only they gather data from various sources, and then package it in ways which companies can use to market their ways most effectively to the people who match their target audience.
One of their tools categorises people by their P² type: a broad demographic brush swept across society, which makes me one of 4.42% of the UK who are members of “Contented Families”, a sub group of the 8.30% of the population which are part of the UK’s “Blossoming Families”.
What does that tell me about myself? I am not entirely sure. What does it tell anyone else? Apparently that I have a mortgage on my (semi-)detached house, own two or three powerful-engined or family cars, like to shop in Sainsbury’s, and am a reader of such newspapers as the Mail and the Express. Well, I feel vaguely offended by that. How does yours match?
Punter Southall are actuaries with a similar interest in numbers and selling their opinions on how to interpret them… and they are keen to estimate my time of death. Based on where I live rather than how I live!
Apparently I can expect to live 0.8 years less than the national average for a male. Which would be worrying if it was made at all clear what the national average life expectancy was.
The more data available to you, the harder it seems to be glean useful information from it.
d.
In: Internet · Tagged with: big brother, data, statistics
hello, world
All hail Kernighan & Ritchie, and the inspiration they have brought to first programs and web pages, the world over. And hello, indeed, world. This is likely to be an irregular blog of web development progress, rants, and reports about this, that, and the other.
I can say no more, for there is no more.
The site exists in order to exist, which is the most dubious of reasons. But let’s not make excuses before there is anything to excuse.
Welcome to Malice.
d.
In: General · Tagged with: introduction
