开发者

Xcode iPhone: New Project Template, Combine?

This question is simple... you have a choice of whi开发者_如何学Goch Template you'd like to use when creating a new iPhone application in Xcode.

What if I choose a View-Based, but I need a Navigation-Based application too? Can you combine the various templates within a project? I mean, is it just a matter of creating a new .xib file and dragging on the various UI components?


The navigation based template is also view based. Look at the code, the navigation based template contains a rootViewController which loads its view from a xib file.

You cannot combine templates automatically you'll have to do it yourself.


You can always create custom templates as you want. You just need to pick a template from Xcode then you can modify it as you want and just place it on a proper location.

Read my this blog post for a better understanding - http://www.makebetterthings.com/blogs/iphone/how-to-create-xcode-project-templates/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜