AnimationAttributes
public struct AnimationAttributes
UIView animation configuration values.
-
The duration of the animation.
Declaration
Swift
public var duration: TimeInterval
-
The timing curve of the animation.
Declaration
Swift
public var curve: UIView.AnimationCurve
-
Whether the view supports user interaction during the animation.
Declaration
Swift
public var allowUserInteraction: Bool
-
Declaration
Swift
public static let `default`: `Self`
-
Declaration
Swift
public init( duration: TimeInterval = 0.2, curve: UIView.AnimationCurve = .easeInOut, allowUserInteraction: Bool = true )