title: Proper practice for subclassing UIView?
body: <p>I'm working on some custom UIView-based input controls, and I'm trying to ascertain proper practice for setting up the view. When working with a UIViewController, it's fairly simple to use the <code>loadView</code> and related <code>viewWill</code>, <code>viewDid</code> methods, but when subclassing a UIView, the closest methosds I have are <code>`awakeFromNib</code>, <code>drawRect</code>, and <code>layoutSubviews</code>. (I'm thinking in terms of setup and teardown callbacks.) In my case, I'm setting up my frame and internal views in <code>layoutSubviews</code>, but I'm not seeing anything onscreen. </p>
  
  <p>What is the best way to ensure that my view has the correct height and width that I want it to have? (My question applies regardless of if I'm using autolayout, although there might be two answers.) What's the proper "best practice"?</p>