SwipeOptions
public struct SwipeOptionsThe SwipeOptions class provides options for transistion and expansion behavior for swiped cell.
- 
                  
                  The transition style. Transition is the style of how the action buttons are exposed during the swipe. DeclarationSwift public var transitionStyle: SwipeTransitionStyle = .border
- 
                  
                  The expansion style. Expansion is the behavior when the cell is swiped past a defined threshold. DeclarationSwift public var expansionStyle: SwipeExpansionStyle?
- 
                  
                  The object that is notified when expansion changes. Note If anexpansionDelegateis not provided, and the expanding action is configured with a clear background, the system automatically uses the defaultScaleAndAlphaExpansionto show/hide underlying actions.DeclarationSwift public var expansionDelegate: SwipeExpanding?
- 
                  
                  The background color behind the action buttons. DeclarationSwift public var backgroundColor: UIColor?
- 
                  
                  The largest allowable button width. Note By default, the value is set to the table/collection view divided by the number of action buttons minus some additional padding. If the value is set to 0, then word wrapping will not occur and the buttons will grow as large as needed to fit the entire title/image.DeclarationSwift public var maximumButtonWidth: CGFloat?
- 
                  
                  The smallest allowable button width. Note By default, the system chooses an appropriate size.DeclarationSwift public var minimumButtonWidth: CGFloat?
- 
                  
                  The vertical alignment mode used for when a button image and title are present. DeclarationSwift public var buttonVerticalAlignment: SwipeVerticalAlignment = .centerFirstBaseline
- 
                  
                  The amount of space, in points, between the border and the button image or title. DeclarationSwift public var buttonPadding: CGFloat?
- 
                  
                  The amount of space, in points, between the button image and the button title. DeclarationSwift public var buttonSpacing: CGFloat?
- 
                  
                  Constructs a new SwipeOptionsinstance with default options.DeclarationSwift public init()
 View on GitHub
View on GitHub SwipeOptions Structure Reference
        SwipeOptions Structure Reference