Back to Swipecellkit

SwipeActionTransitioningContext

docs/docsets/SwipeCellKit.docset/Contents/Resources/Documents/Structs/SwipeActionTransitioningContext.html

2.7.11.4 KB
Original Source

SwipeActionTransitioningContext

public struct SwipeActionTransitioningContext

The SwipeActionTransitioningContext type provides information relevant to a specific action as transitioning occurs.

`

                actionIdentifier
                `

The unique action identifier.

Declaration

Swift

public let actionIdentifier: String?

`

                button
                `

The button that is changing.

Declaration

Swift

public let button: UIButton

`

                newPercentVisible
                `

The old visibility percentage between 0.0 and 1.0.

Declaration

Swift

public let newPercentVisible: CGFloat

`

                oldPercentVisible
                `

The new visibility percentage between 0.0 and 1.0.

Declaration

Swift

public let oldPercentVisible: CGFloat

`

                setBackgroundColor(_:)
                `

Sets the background color behind the action button.

Declaration

Swift

public func setBackgroundColor(_ color: UIColor?)

Parameters

| color |

The background color.

|

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

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