docs/docsets/SwipeCellKit.docset/Contents/Resources/Documents/Protocols/SwipeExpanding.html
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.
Swift
func animationTimingParameters(buttons: [UIButton], expanding: Bool) -> SwipeExpansionAnimationTimingParameters
| 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.
Swift
func actionButton(_ button: UIButton, didChange expanding: Bool, otherActionButtons: [UIButton])
| 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.