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 more

    Declaration

    Swift

    public class SwipeAction: NSObject
  • The SwipeCollectionViewCell class extends UICollectionViewCell 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 SwipeOptions via the SwipeCollectionViewCellDelegate delegate.

    See more

    Declaration

    Swift

    open class SwipeCollectionViewCell: UICollectionViewCell
  • The SwipeTableViewCell class extends UITableViewCell 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 SwipeOptions via the SwipeTableViewCellDelegate delegate.

    See more

    Declaration

    Swift

    open class SwipeTableViewCell: UITableViewCell