新的Xcode项目中MainWindow

新的Xcode项目中MainWindow

本文介绍了新的Xcode项目中MainWindow.xib在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用TabBar模板在Xcode 4中启动了一个新项目.我注意到项目中没有MainWindow.xib文件.

I started a new project in Xcode 4 using the TabBar template.I noticed that there was no MainWindow.xib file in the project.

  • Apple摆脱了此文件吗?
  • 在没有此文件的情况下如何访问主窗口?

推荐答案

MainWindow.xib在开始时有点多余,请记住它实际上并不包含任何可见"组件(将窗口视为不可见的容器),通常您无需对其进行修改. (也就是说,我本人只是iOS开发的初学者,因此,如果我看错了,我希望我的观察得到纠正,我将不胜感激.)

MainWindow.xib was kind of superfluous to begin with, keeping in mind that it doesn't really contain any "visible" components (thinking of the window as an invisible container) and that usually you don't need to modify it. (That said, I'm only a beginner in iOS development myself, so I would appreciate my observation being corrected if I'm wrong).

MainWindow.xib在beta版本中的角色已被代码替换:比较自动生成的(-)application:didFinishLaunchingWithOptions:在当前和Beta版本的Xcode中具有相同模板,并且您应该能够理解发生.

MainWindow.xib's role in the beta version has been replaced by code: compare the auto-generated (-)application:didFinishLaunchingWithOptions: of the same template in the current and beta version of Xcode, and you should be able to follow what's happening.

这篇关于新的Xcode项目中MainWindow.xib在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-18 12:59