6

I recently upgraded to Xcode 4.3 from 4.2 and it seems they have gotten rid of the New File option to add a UIViewController subclass. I used to be able to do the following:

File => New File... => Cocoa Touch => UIViewController subclass.

but now the options for new file seem to have changed and I cannot find this option. Can somehow point me in the right direction?

Thank you.

2 Answers 2

17

Under Xcode 7 the feature is a little different:

File => New => File… => iOS (Source) => Cocoa Touch Class => choose "subclass of" UIViewController.

Edit: Updated for Xcode 7.3

0
0

Use File->New->Objective-C Class, select UIViewController as class.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.