Reputation: 1007
I've read here about how to do what I want to do in Xcode 4, but in Xcode 5.1 there is no UIViewSubclass. I can only find Objective C class and View. Am I missing something simple?
.h and .m files for view controllers added within storyboard xcode 4
Upvotes: 0
Views: 61
Reputation: 189
When you create a new file choose "Objective-C Class". Then, below the field "Class" there is a field called "Subclass of". Just type in UIView, and it would become the subclass of UIView.
You can find similar steps in this thread
Upvotes: 1