且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在 Swift 中以编程方式设置 uitableview 的委托和数据源

更新时间:2023-09-22 09:49:46

设置委托和数据源的正确方法是:

The correct way to set the delegate and data source is:

tableView.delegate = self
tableView.dataSource = self