“Cocoa Touch应用程序” 来自 Xcode 3.1.1 的模板
刚刚安装了最新的 iPhone 2.1 SDK。 当我转到文件 -> 时 Xcode 中的新项目,在 iPhone OS 应用程序选择下,我没有看到“Cocoa Touch 应用程序”的模板图标。 我错过了什么吗? 除了 iPhone SDK 之外,我还需要下载什么吗? 如果没有,如何将其添加到“iPhone OS 应用程序”模板中?
Just installed the latest SDK for iPhone 2.1. When I go to File -> New Project in Xcode, under the iPhone OS Application selection, I don't see a template icon for "Cocoa Touch Application". Am I missing something? Anything else I need to download other than the iPhone SDK? If not, how do I add it to the "iPhone OS Application" templates?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您不需要添加任何模板,这是默认情况下发生的情况。
最接近普通 Cocoa Touch 应用程序的是基于窗口的应用程序,因为它为您提供了一个窗口和一个委托...
其他应用程序,如 Martin 所说,已经应用了不同的样式...OpenGL、导航控制器、意见等
You shouldn't need to add any templates, this is what happens by default.
The closest thing to a normal Cocoa Touch application would be the Window-Based application as it gives you a window and a delegate...
The others, like Martin said, have different styles already applied to them... OpenGL, Navigation Controllers, Views, etc.
所有模板(iPhone 下)都是基于 Cocoa 的。
它们之间的区别基本上在于如何设置主视图和默认安装的导航控件。
All the templates (under iPhone) are Cocoa based.
The difference between them is basically how you set up the main View and the navigational controls that are installed by default.
好吧,经过更多的挖掘,我发现了几篇文章似乎表明模板名称已被更改(来自苹果支持网站)。 所以问题不在于我们的模板,而在于视频教程 - 它们尚未更新。 这是新旧之间的模板映射,我能说的最好的是:
Cocoa Touch OpenGL Application -> OpenGL ES 应用程序
Cocoa Touch Tab Bar -> 标签栏应用程序
Cocoa Touch Utility -> 实用应用程序
Cocoa Touch 应用程序 -> 基于窗口的应用程序/基于视图的应用程序
Cocoa Touch List -> 基于导航的应用程序
OK, after some more digging, I found several posts which seem to indicate that the template names have been changed (from the apple support site). So the problem is not with our templates, it is with the video tutorials - they have not been updated. Here is the template mapping between old and new, best I can tell:
Cocoa Touch OpenGL Application -> OpenGL ES Application
Cocoa Touch Tab Bar -> Tab Bar Application
Cocoa Touch Utility -> Utility Application
Cocoa Touch Application -> Window-based Application / View based application
Cocoa Touch List -> Navigation based Application