numberOfRowsInSection
iOS开发Swift-UITableView-func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { return 6 } 返回一个整形. 作用: UITableView的DataSource,用来确定cell的个数.number ......