iOS Programming View Controllers 视图控制器 1.1 A view controller is an instance of a subclass of UIViewController. 一个view controller 是一个UIViewController的子类. A view controller manages a view hierarchy. 一个view controller 管理一个视图树. It is responsible for c
var data: [[String]]! override func viewDidLoad() { super.viewDidLoad() // Do any additional setup after loading the view, typically from a nib. let tableView = UITableView(frame: self.view.bounds, style: .Plain) tableView.dataSource = self tableView