jtmarmon
jtmarmon

Reputation: 6189

View controller file template seems to be gone in Xcode 6

How do I create an Objective-C view controller for an iOS app in Xcode 6? In previous iterations, I could click "Objective-C class" and choose to automatically inherit from UIViewController. Now the only options are "Objective-C File" and "Header File" which don't allow me to inherit from UIVC. Any ideas?

If you're downvoting because there's an answer somewhere else please let me know - I couldn't find it myself

Upvotes: 1

Views: 1485

Answers (1)

vladof81
vladof81

Reputation: 26489

Right click on project > New file > Choose Cocoa Touch Class > Set Subclass of to UIViewController.

Upvotes: 4

Related Questions