Sunday, February 18, 2018

UITableView Row Swipe Actions (iOS, Xcode 9, Swift 4)

Since iOS 11 you now have built-in support to swipe your UITableViewCell right or left and be able to add multiple buttons or "actions" to the cell.

Watch this video to learn how to add swipe actions no matter which way you swipe. I also show you the new way to swipe to delete. You will learn how to change color and add icons as well as enabling or disabling the full swipe feature.

As a bonus, you will also learn why the term "leading" and "trailing" are used instead of "right" and "left" and how to configure your project to simulate a language that reads from right to left.




No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

SwiftUI Search & Filter with Combine - Part 3 (iOS, Xcode 13, SwiftUI, 2...

In part 3 of the Searchable video series, I show you how to use Combine in #SwiftUI for the search and filter logic connected to the searcha...