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: 546
        
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 from- UIViewin a code file, then somehow use it in another- UIViewala like a control. (How do I do this?)
- Create a custom - UIViewin Interface Builder and have a custom- UIViewControllerwire it up. In my main- ViewController, 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