Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is MainWindow.xib in new Xcode project?

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

  • Did Apple get rid of this file?
  • How can I access the Mainwindow without this file?
like image 376
user Avatar asked Jun 22 '11 21:06

user


2 Answers

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'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.

like image 74
Aky Avatar answered Nov 05 '22 07:11

Aky


If you are using the iOS SDK beta please read the release notes and the "What's new in iOS" document. You can find the documents on developer.apple.com when logged in as an iOS Developer Program member.

like image 30
rastersize Avatar answered Nov 05 '22 05:11

rastersize