Re: Where is the preset?
Re: Where is the preset?
- Subject: Re: Where is the preset?
- From: Quincey Morris <email@hidden>
- Date: Sat, 3 Jul 2010 23:43:10 -0700
On Jul 3, 2010, at 23:05, unixo wrote:
> You can change company name with this command (issue it in terminal):
>
> defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions '{"ORGANIZATIONNAME" = "A Great Company";}'
>
> "admin" username is the current logged user, if I'm wrong
>
> regards
> unixo
>
> On Jul 4, 2010, at 1:51 AM, rramage wrote:
>
>> Please forgive this newbie question. When I create a new
>> header & implementation file, it adds a header comment that
>> says in part:
>>
>> //
>> // Created by admin on 30/06/10.
>> // Copyright __MyCompanyName__ 2010. All rights reserved.
>> //
>>
>> Where and how do I change "admin" and "__MyCompanyName__" so
>> I don't have to change every file after the creating?
Actually, this is only part of the answer. For quite a while, the company name has defaulted to the "company name" field of the user's own address book card.
Also, in recent versions of Xcode (maybe since 3.1, I can't remember), you can set the company name for source files on a per-project basis via the "Organization Name" field of the project info. I'd say this is the best solution in general, since it doesn't depend on a ridiculously obscure default like the other solutions.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden