what's the format of TemplateInfo.plist for file template
what's the format of TemplateInfo.plist for file template
- Subject: what's the format of TemplateInfo.plist for file template
- From: trash box <email@hidden>
- Date: Tue, 15 Mar 2011 18:18:13 +0800
May I know whether there is a complete reference for TemplateInfo.plist?
I want to create a file template with several groups containing ObjC classes.
No idea how to do it, but I tried a plist file like:
<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
<key>Description</key>
<string>Adds a new module to a project.</string>
<key>EnclosingGroupName</key>
<string>%@</string>
<key>FileToDisplay</key>
<string>%@.m/%1$@.h</string>
<key>ImplicitCounterpartTemplateFiles</key>
<dict>
<key>g1</key>
<string>g1</string>
</dict>
<key>ImplicitExtraTemplateFiles</key>
<dict>
<key>1.h</key>
<string>g1/1.h</string>
<key>1.m</key>
<string>g1/1.m</string>
</dict>
</dict>
</plist>
This template can creat a physical folder instead of a group containing 1.h+1.m. It's OK.
The problem is 1.m is not in the target.
I am lost, please help.
_______________________________________________
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