UIView or UIViewController for custom View
Posted
by Daniel A. White
on Stack Overflow
See other posts from Stack Overflow
or by Daniel A. White
Published on 2010-04-14T18:42:03Z
Indexed on
2010/04/14
18:43 UTC
Read the original article
Hit count: 547
What is the best way to create a custom UIView that I can consume in Interface Builder?
Create a custom
UIViewin Interface Builder and inherit fromUIViewin a code file, then somehow use it in anotherUIViewala like a control. (How do I do this?)Create a custom
UIViewin Interface Builder and have a customUIViewControllerwire 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.
© Stack Overflow or respective owner