自定义 XCode 模板?

发布于 2024-09-04 15:30:02 字数 129 浏览 2 评论 0原文

我想在 XCode 中基于 Apple 模板的修改项目制作自己的 iPhone 应用程序模板。

例如,我想采用一个基于视图的项目,添加一个图像视图并将该项目保存为模板。确实,这只是一个例子。

这可能吗?为何如此?

I would like to make my own iPhone Application Templates in XCode, based on a modified project from the Apple templates.

For example, I would like to take a View Based project, add an Image View and save that project as a template. Really, this is just an example.

Is this possible? How so?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

无戏配角 2024-09-11 15:30:02

thyrgle 的答案可能与 2010 年 6 月每个人都在使用 Xcode 3 相关。但是 Xcode 4 中的情况发生了很大变化。也许可以尝试 本教程。甚至这个

thyrgle's answer may have been relevant in June of 2010 when everyone was using Xcode 3. But things have changed considerably in Xcode 4. Maybe try this tutorial. Or even this one.

苍景流年 2024-09-11 15:30:02

有关完整教程,请查看以下内容: http://arstechnica.com/apple/guides/2009/04/cocoa-dev-design-your-own-xcode-project-templates.ars
只需创建一个按照您想要的方式格式化的 Xcode 项目即可。简而言之,只需将新格式化的 Xcode 项目带到此处:/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Project Templates/Application

For a full tutorial look at this: http://arstechnica.com/apple/guides/2009/04/cocoa-dev-design-your-own-xcode-project-templates.ars
And just make an Xcode project that is formatted the way you want it. In short just bring your new formatted Xcode project to here: /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Project Templates/Application

冷了相思 2024-09-11 15:30:02

问题很简单,请按照以下步骤进行

步骤 1:
打开 Finder,转到“应用程序”并右键单击 Xcode 以显示包内容。导航到 Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Templates/Project Templates/Application

步骤 2:
在那里您可以看到扩展名为 .xctemplate 的文件夹,将其复制。

步骤3:
更改文件夹的名称,运行 Xcode,您可以看到您的名称模板。

第4步:
如果您想自定义模板,请在 .plist 文件中进行更改。

It is simple as Question Follow Below Steps

Step 1:
Open finder, go to Applications and right click on Xcode to show package contents. Navigate to Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Templates/Project Templates/Application

Step 2:
There you can see folder with extension .xctemplate copy it.

Step 3:
Change the name of folder run Xcode you can see template of your name.

Step 4:
If you want to customise your template make changes in .plist file.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文