title: Set a custom subclass of UINavigationBar in UINavigationController programmatically
body: <p>Does anyone know how can I use my custom subclass of <code>UINavigationBar</code> if I instantiate <code>UINavigationController</code> programmatically (without IB)? </p>
  
  <p>Drag a <code>UINavigationController</code> in IB show me an under Navigation Bar and using Identity Inspectory I can change class type and set my own subclass of <code>UINavigationBar</code> but programmatically I can't, <code>navigationBar</code> property of Navigation Controller is readonly...</p>
  
  <p>What should I do to customize the navigation bar programmatically? Is IB more "powerful" than "code"? I believed all that can be done in IB could be done also programmatically.</p>