Replacement for Navigation-based application template in Xcode 4.2?

喜你入骨 提交于 2019-12-01 21:13:58

问题


Xcode 4.2 no longer has the Navigation-based Application template.

What should I use in replacement when starting a project?


回答1:


to get a Table View and a Detail View you should go with the Master-detail template. Although at first you may think about it being iPad-only, the iPhone version builds an application which is similar to the Navigation-based.




回答2:


I don't think that it works. Anyway, you should start with a single view application, then add the files from the New-File menu. You should select View. Then click create. It should generate the required files for you.




回答3:


In Xcode 4.2 you have to use SIngle-View Application Template. it's the same than Navigation-based Application template.




回答4:


The Single View Application does not set up the nav controller for you either. You have to build it manually.

What I suggest doing, if you can, load an older version of Xcode and create a blank Navigation-Based app. Use it as a reference for your new apps. You'll have to change your class and file names, of course, but I dont see any issue with doing it that way.



来源:https://stackoverflow.com/questions/8196123/replacement-for-navigation-based-application-template-in-xcode-4-2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!