func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { return 6 }
返回一个整形.
作用:
UITableView的DataSource,用来确定cell的个数.numberOfRowsInSection就是在界面中的行数
例如:

func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { return 6 }
返回一个整形.
作用:
UITableView的DataSource,用来确定cell的个数.numberOfRowsInSection就是在界面中的行数
例如:
