• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
what's the format of TemplateInfo.plist for file template
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<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

  • Follow-Ups:
    • Re: what's the format of TemplateInfo.plist for file template
      • From: Matt Thomas <email@hidden>
  • Prev by Date: Re: Developer program
  • Next by Date: Re: No ppc from Xcode 4?
  • Previous by thread: Case label indent
  • Next by thread: Re: what's the format of TemplateInfo.plist for file template
  • Index(es):
    • Date
    • Thread