I have a UITableViewController
subclass that\'s instantiated, depending on where it\'s used, in a NIB or via code. In both cases I want to do customization in
An addition to the posts above that reference –initWithCoder:
If you added added the view controller to its parent via interface builder (for example: if the view controller is connected to a tab bar controller in interface builder), then you need to override –initWithCoder.
(-initWithNibName will only be called when you create the view controller programmatically.)