How has the NSIndexPath initialization changed in Swift3? [closed] How has the NSIndexPath initialization changed in Swift3? [closed] swift swift

How has the NSIndexPath initialization changed in Swift3? [closed]


NSIndexPath has been changed to IndexPath

try IndexPath(row: Int, section: Int)

API Reference : indexpath

Swift 3.0 Developer Preview