<分区>
似乎在 xcode 8 中它不接受
let indexPath = NSIndexPath(forRow: 0, inSection: 0)
在 swift 3 中执行此操作的新方法是什么?
标签 ios swift xcode nsindexpath
<分区>
似乎在 xcode 8 中它不接受
let indexPath = NSIndexPath(forRow: 0, inSection: 0)
在 swift 3 中执行此操作的新方法是什么?
最佳答案
在 Swift 3 中:IndexPath(row: 0, section: 0)
关于ios - 让 indexPath = NSIndexPath(forRow : 0, inSection: 0) 的替代方法,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39229543/