2 回答

暮色呼如
TA貢獻1853條經驗 獲得超9個贊
你必須實現這幾個協議的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 關注
- 1069 瀏覽
添加回答
舉報
0/150
提交
取消