SwipeExpansionStyle
public enum SwipeExpansionStyle
Describes the expansion style. Expansion is the behavior when the cell is swiped past a defined threshold.
-
No expansion. Elasticity is applied once all action buttons have been exposed.
Declaration
Swift
case none
-
The default action performs a selection-type behavior. The cell bounces back to its unopened state upon selection and the row remains in the table view.
Declaration
Swift
case selection
-
The default action performs a destructive behavior. The cell is removed from the table view in an animated fashion.
Warning
TheSwipeAction
handler must update the table view’s backing data model to remove the item respresenting the row.Declaration
Swift
case destructive