1

It seems in xcode 8 it doesn't take the

let indexPath = NSIndexPath(forRow: 0, inSection: 0)

What is the new way to do this in swift 3?

ocean
  • 1,335
  • 15
  • 26
RGM-79FP GM Striker
  • 155
  • 1
  • 1
  • 14

1 Answers1

2

In Swift 3: IndexPath(row: 0, section: 0)

Luke
  • 4,908
  • 1
  • 37
  • 59