[英]How to create folder in file template for xcode?
friends i have created a file template , Is there any way to create folder in file template ? 我已经创建了一个文件模板的朋友,有没有办法在文件模板中创建文件夹? When i use Project template i can attache all things like groups , framework. 当我使用项目模板时,我可以附加组,框架等所有内容。 but not with File Templates. 但不是文件模板。
<key>Network Reachability/ISReachability_Wrapper.h</key>
<dict>
<key>Group</key>
<array>
<string>Network Reachability</string>
</array>
<key>Path</key>
<string>Network Reachability/ISReachability_Wrapper.h</string>
</dict>
Degault file templates has only files like .h,.m,xib. Degault文件模板只有.h,.m,xib等文件。 I have edited one of templateinfo.plist for file template. 我编辑了一个templateinfo.plist文件模板。 i succeeded in adding custom files by add new file. 我成功通过添加新文件添加自定义文件。 but i cant added folder(Group). 但我不能添加文件夹(组)。
只需在模板目录中创建子文件夹,然后通过删除引用,再次添加和从磁盘删除它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.