How can we directly call UITableview in view controller classs...开发者_如何学运维.
If you added a table view to your nib file in Interface Builder, you need to bind it to an IBOutlet
property in your class, then call the table view by its IBOutlet
property.
If your view controller is a UITableViewController
subclass, you can just use self.tableView
.
精彩评论