简体   繁体   中英

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. I have edited one of templateinfo.plist for file template. i succeeded in adding custom files by add new file. but i cant added folder(Group).

只需在模板目录中创建子文件夹,然后通过删除引用,再次添加和从磁盘删除它。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM