Is a MainWindow.xib truly needed in iOS application?

后端 未结 3 1906
旧时难觅i
旧时难觅i 2020-12-08 12:10

Before doing any type of iOS 5.0 development using Xcode 4.2, Xcode has provided a \"MainWindow.xib\" in templates. After downloading and playing with Xcode 4.2 with iOS 5.

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-08 13:01

    I always feel confused about the usage of MainWindow.xib: even with it I still need to set window's rootViewController or addSubview to it. Isn't that information contained in MainWindow.xib ? Why I still need to tell window about that?

    So removing MainWindow.xib seems to make sense.

提交回复
热议问题