Re: Xcode File Templates
Re: Xcode File Templates
- Subject: Re: Xcode File Templates
- From: "Pelaia II, Tom" <email@hidden>
- Date: Tue, 16 Feb 2010 09:40:24 -0500
- Acceptlanguage: en-US
- Thread-topic: Xcode File Templates
Hi Dave,
Thanks for the feedback. I found most of what I wanted with the old style WebObjects component template, and I was able to transform that template into what I wanted. The only thing I am missing is the placeholder for the group name. I need a placeholder key for the text that the user types for the group. I don't know how to get that information or whether it is even available. Even if I can't get that information, I can fill it in by hand and at least I have most of what I need.
thanks,
tom
On Feb 15, 2010, at 4:53 PM, <email@hidden> <email@hidden> wrote:
>
> On Feb 15, 2010, at 1:11 PM, Pelaia II, Tom wrote:
>
>> Hi,
>>
>> How does one create a Xcode file template for a complex set of files to be added to the project?
>>
>> I want to create a Xcode file template that creates a directory of several template files (one of which is a subdirectory of more files) to be modified by the developer. I need the directories to be loaded as groups into my Xcode project rather than folder references.
>>
>> thanks,
>> tom
>
>
> Recently I found a link (but couldn't quickly find again just now) that discussed creating templates. Basically you start with one of the built-in templates, add the files you want and/or change the build settings you want and then save that project in:
>
> ~/Library/Application Support/Developer/Shared/Xcode/Project Templates
>
> I had to create some of those directories at the end of the path.
>
> I actually added a directory with my initials in that directory and then put the saved modified project in that directory and then they show up when you create a new project.
>
> You may also be able to use /Library/Application Support/Developer/Shared/Xcode/Project Templates if you want it to be shared among other users on the machine, but I haven't tried it.
>
> Anyways, this worked for me and I suspect someone else will chime in if the recommended way is different.
>
> Dave
>
_______________________________________________
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