Classes
The following classes are available globally.
-
The
SwipeAction
object 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
SwipeCollectionViewCell
class extendsUICollectionViewCell
and 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 moreSwipeOptions
via theSwipeCollectionViewCellDelegate
delegate.Declaration
Swift
open class SwipeCollectionViewCell: UICollectionViewCell
-
The
SwipeTableViewCell
class extendsUITableViewCell
and 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 moreSwipeOptions
via theSwipeTableViewCellDelegate
delegate.Declaration
Swift
open class SwipeTableViewCell: UITableViewCell