标签: ios swift xcode nsindexpath
似乎在xcode 8中它没有采用
let indexPath = NSIndexPath(forRow: 0, inSection: 0)
在swift 3中执行此操作的新方法是什么?
答案 0 :(得分:2)
在Swift 3中:IndexPath(row: 0, section: 0)
IndexPath(row: 0, section: 0)