TMAnimation
public struct TMAnimation
Configuration for an animation.
-
Whether the animation is enabled.
Declaration
Swift
public let isEnabled: Bool
-
Duration of the animation in seconds.
Declaration
Swift
public let duration: TimeInterval
-
Create an animation configuration.
Declaration
Swift
public init(isEnabled: Bool, duration: TimeInterval)
Parameters
isEnabled
Whether the animation is enabled.
duration
Duration of the animation in seconds.