Can't find UIView Subclass Template in XCode 4
-
08-12-2019 - |
Question
Did it disappear ? In XCode 3 it did exist. How to create a subview class in XCode 4 ?
Solution
You want to create a template or class...?
A subview class can easily be created by File -> New -> Objective-c Class - > UIView Subclass ..->save
OTHER TIPS
What's the problem in adding just a normal UIView??
Make sure you are choosing your xib file to be an iOS User Interface Empty file, not a Mac OS X one. In the latter, only NSView is available, not UIView.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow