Back to Swipecellkit

SwipeExpanding

docs/docsets/SwipeCellKit.docset/Contents/Resources/Documents/Protocols/SwipeExpanding.html

2.7.11.8 KB
Original Source

SwipeExpanding

public protocol SwipeExpanding

Adopt the SwipeExpanding protocol in objects that implement custom appearance of actions during expansion.

`

                animationTimingParameters(buttons:expanding:)
                `

Asks your object for the animation timing parameters.

Declaration

Swift

func animationTimingParameters(buttons: [UIButton], expanding: Bool) -> SwipeExpansionAnimationTimingParameters

Parameters

| buttons |

The expansion action button, which includes expanding action plus the remaining actions in the view.

| | expanding |

The new expansion state.

| | otherActionButtons |

The other action buttons in the view, not including the action button being expanded.

|

`

                actionButton(_:didChange:otherActionButtons:)
                `

Tells your object when the expansion state is changing.

Declaration

Swift

func actionButton(_ button: UIButton, didChange expanding: Bool, otherActionButtons: [UIButton])

Parameters

| button |

The expansion action button.

| | expanding |

The new expansion state.

| | otherActionButtons |

The other action buttons in the view, not including the action button being expanded.

|

© 2018 Mohammad Kurabi. All rights reserved. (Last updated: 2018-05-26)

Generated by jazzy ♪♫ v0.8.4, a Realm project.