What is the best way to create a custom UIView
that I can consume in Interface Builder?
Create a custom
UIView
in Interface Builder and inherit fromUIView
in a code file, then somehow use it in anotherUIView
ala like a control. (How do I do this?)Create a custom
UIView
in Interface Builder and have a customUIViewController
wire it up. In my mainViewController
, place the new view.
Basically, I am trying to create a reusable display view and would like a quick way to change it across all my instances with minimal effort. I already have laid out my XIB in Interface Builder.