Table Views

Sep 1 2020 · Swift 5, iOS 14, Xcode 12

Part 3: Managing Rows

18. Move Rows

Episode complete

Play next episode

Next
About this episode

Leave a rating/review

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

Get immediate access to this and 4,000+ other videos and books.

Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and 4,000+ professional videos in a single subscription, it's simply the best investment you can make in your development career.

Learn more Already a subscriber? Sign in.

Notes: 18. Move Rows

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.