If all views are UITableView
s you would only need one xib file (lets name it GenericTableView.xib), add your UITableView
, connect it with the file owner which is simply a UITableViewController
. After that create separate subclasses of UITableViewController
and implement your specific behavior in there.
In your code you can the easily initiate any of your UITableViewController
subclasses with
[[MyViewController alloc] initWithNibName:@"GenericTableView" bundle:[NSBundle mainBundle]];