When I create a ViewController, "also create xib" cannot be skipped

enter image description here

last week it works well. and there is nothing like "viewDidLoad" in the .m file. My xCode version is 7.1.1. what's wrong.

enter image description here

+4
source share
2 answers

Make sure you select the iOS source on the left side of the image.

enter image description here

+4
source

You can check? Perhaps the problem was that you did not select the cocoa class from iOS.

A possible solution can be found here.

Unable to create iPhone xib file with Xcode 6

0
source

Source: https://habr.com/ru/post/1620255/


All Articles