2 回答

暮色呼如
TA貢獻(xiàn)1853條經(jīng)驗 獲得超9個贊
你必須實現(xiàn)這幾個協(xié)議的required方法
func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return 10
}
func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCellWithIdentifier("cell")
return cell!
}
- 2 回答
- 0 關(guān)注
- 1068 瀏覽
添加回答
舉報
0/150
提交
取消