Table Views

Sep 1 2020 Swift 5, iOS 14, Xcode 12

Part 3: Managing Rows

18. Move Rows

Lesson Complete

Play Next Lesson
Next
Save for later
About this episode
See versions

See forum comments
Cinema mode Mark as Complete Download course materials
Previous episode: 17. Add and Delete Rows Next episode: 19. Conclusion

Corrections:
At 6:40 - The condition in canMoveRowAt should read:

if indexPath.section != snapshot().indexOfSection(.readMe)
|| currentSortStyle != .readMe {
return false
} else {
return true
}

At 8:20 - You will need to manually connect all three buttons to the sortButtons @IBOutlet in the storyboard.

This course was originally recorded in May, 2020 using Xcode 11 & iOS 13. It has been reviewed and all content and materials updated to Xcode 12 & iOS 14 as of September, 2020.