docs/Structs/SwipeActionTransitioningContext.html
public struct SwipeActionTransitioningContext
The SwipeActionTransitioningContext type provides information relevant to a specific action as transitioning occurs.
`
actionIdentifier
`
The unique action identifier.
Swift
public let actionIdentifier: String?
`
button
`
The button that is changing.
Swift
public let button: UIButton
`
newPercentVisible
`
The old visibility percentage between 0.0 and 1.0.
Swift
public let newPercentVisible: CGFloat
`
oldPercentVisible
`
The new visibility percentage between 0.0 and 1.0.
Swift
public let oldPercentVisible: CGFloat
`
setBackgroundColor(_:)
`
Sets the background color behind the action button.
Swift
public func setBackgroundColor(_ color: UIColor?)
| color |
The background color.
|
© 2018 Mohammad Kurabi. All rights reserved. (Last updated: 2018-05-26)
Generated by jazzy ♪♫ v0.8.4, a Realm project.