Classes
The following classes are available globally.
-
The
SwipeActionobject defines a single action to present when the user swipes horizontally in a table/collection item.This class lets you define one or more custom actions to display for a given item in your table/collection. Each instance of this class represents a single action to perform and includes the text, formatting information, and behavior for the corresponding button.
See moreDeclaration
Swift
public class SwipeAction: NSObject
-
The
SwipeCollectionViewCellclass extendsUICollectionViewCelland provides more flexible options for cell swiping behavior.The default behavior closely matches the stock Mail.app. If you want to customize the transition style (ie. how the action buttons are exposed), or the expansion style (the behavior when the row is swiped passes a defined threshold), you can return the appropriately configured
See moreSwipeOptionsvia theSwipeCollectionViewCellDelegatedelegate.Declaration
Swift
open class SwipeCollectionViewCell: UICollectionViewCell
-
The
SwipeTableViewCellclass extendsUITableViewCelland provides more flexible options for cell swiping behavior.The default behavior closely matches the stock Mail.app. If you want to customize the transition style (ie. how the action buttons are exposed), or the expansion style (the behavior when the row is swiped passes a defined threshold), you can return the appropriately configured
See moreSwipeOptionsvia theSwipeTableViewCellDelegatedelegate.Declaration
Swift
open class SwipeTableViewCell: UITableViewCell
View on GitHub
Classes Reference