I have a plain project with blank UIView. Later, when I’m get some useful information from my serwer i would like to create UIView or UITableView.
I have a class:
@interface MyTableViewController : UITableViewController <UITableViewDelegate, UITableViewDataSource> {
}
And I have AppDelegate, ViewController and .xib file.
What i should do to load a UITableView? I should unload my standard ViewController in AppDelegate or Load TableView inside View as a Subview (possible?) Or i should throw out xib file at all ? Of course everything i want to do in to my Views has to be programically not using IB.
In my app i want to create both, depends on receiving data.
I would create a uiview and load the uitableview inside the uiview (rootViewController)
with that said, I assume you are using interface builder (IB) which makes things much more visual and easy to manipulate visually.
If needed I will add the relevant code.