CrackerBarrelKid55
CrackerBarrelKid55

Reputation: 608

Creating an Objective C class UIViewController in latest xcode

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.

Upvotes: 1

Views: 687

Answers (1)

Jessedc
Jessedc

Reputation: 12460

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

Upvotes: 2

Related Questions