Today, Slag Slag wants to create a uitableview view as root views with the result of a warning, only to understand that tableview and view is not directly as the root view, need to be placed on the Viewcontroller. Take a note to learn more about it.
Refer to the blog post: http://blog.csdn.net/ryantang03/article/details/7749103 (iOS learning note 8-uitableviewcontroller) lists Xib creation methods.
--------------------------------------Split Line---------------------------------
Common usage :
Add UITableView to the controller Viewcontroller, and then create UITableViewCell, custom TableView.
for a more convenient choice Create directly :
appdelegate : Setting the root view
Firsttableviewcontroller *table = [[Firsttableviewcontroller alloc]init];
Self.window.rootViewController = table;
in Tableviewcontroller :
. h file
1. Add Agreement <UITableViewDataSource,UITableViewDelegate>
2.
About creating views directly Uitableviewcontroller display (beginner)