Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: __MyCompanyName__ in templates



On 3. Mrz 2004, at 10:43 Uhr, Scott Little wrote:

Hello,

I realize that this is more of an xcode list question, but I thought
someone here could quickly tell me where the above value
(__MyCompanyName__) comes from when XCode detemplates the files. I have
set my company name in Address Book, but that didn't make any
difference.

This is set in the user defaults (or defaults to __MyCompanyName__): (from my user defaults dictionary ;-))

PBXCustomTemplateMacroDefinitions = {ORGANIZATIONNAME = ""; };


XCode looks for the key PBXCustomTemplateMacroDefinitions. That's a dictionary with the relevant
key entries.
Take a look in the XCode template files in "/Library/Application Support/Apple/Developer Tools/File Templates".
There you can add your own keys and add those to your user defaults.

Take a look in the XCode Help menu -> Show Expert Preferences Notes. In the section General the user defaults key
is described. Although very briefly.

Google is a good search engine, too.

Kay
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >__MyCompanyName__ in templates (From: Scott Little <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.