1

I've just upgraded my xcode to the latest version after having a small few month break from development.

I'm trying to create an Objective-C class UIViewController in my empty application, but I've noticed that I now have to select from 4 different file types (Empty File, Category, Protocol and Extension). My question is what would be the appropriate file type? I'm after .h, .m and .xib UIViewControllers.

Thank you.

1 Answer 1

2

You want to select "Cocoa Touch Class"

enter image description here

You then enter what type of class it is, in your case UIViewController the class name you want, and the language.

enter image description here

Sign up to request clarification or add additional context in comments.

1 Comment

Legend. Thank you very much.

Your Answer

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.