Re: NewApplication
Re: NewApplication
- Subject: Re: NewApplication
- From: Bill Bumgarner <email@hidden>
- Date: Sun, 9 Dec 2007 11:17:18 -0800
On Dec 9, 2007, at 11:12 AM, Tommy Nordgren wrote:
This can be done by creating a custom project template.
Make sure the nib in question is saved with text encoding.
Then it is possible to set up macroexpansion for the xml file inside
the
nib bundle
This is exactly how the PyObjC templates work; all references to
NewApplication and MyDocument in the resulting projects are gone,
replaced by names derived from the project name.
If you want to mess with creating your own Xcode templates, I would
suggest starting with the PyObjC template project. It contains a
script that can copy any of the existing Xcode templates while turning
them into buildable projects. You then edit them as you would any
other Xcode project and the script will then turn them back into
templates for you. Still tedious, but nowhere near as much as having
to hand edit in all the wonky quoting characters.
http://www.friday.com/bbum/2007/12/03/pyobjc-xcode-templates-now-in-subversion/
b.bum
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden