| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Is '__MyCompanyName__' defined somewhere? I would like to change it so I don't have to change it every time I create a new class. Call me lazy...
Re: Project Templates above
Better than changing the apple supplied templates. Create a mirror of /Developer/ProjectBuilder Extras/ within your home folder and copy the templates you're interested in changing into it. Rename your versions. Here is a list of recognized variables which PB will replace
DATE -- current date (using NSCalendarDate? format "%x")
DIRECTORY -- full path of directory in which the new file is being created
FILENAME -- full file name, exactly as typed by the user
FILEBASENAME -- file name without extension
FILEBASENAMEASIDENTIFIER -- same as FILEBASENAME, but mangled to a legal C-style identifier
FILEEXTENSION -- extension of file name
FULLUSERNAME -- full name of the logged-in user
PROJECTNAME -- name of project in which file is created, "" if no project
PROJECTNAMEASIDENTIFIER -- same as PROJECTNAME, but mangled to a legal C-style identifier
TIME -- current time (using NSCalendarDate? format "%X")
USERNAME -- account name of the logged-in user
--DaveHenderson
| References: | |
| >__MyCompanyName__ (From: Dustin Mierau <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.