AnimationLaunchEnvironment
public struct AnimationLaunchEnvironment : LaunchEnvironmentWithSingleValue, AutoMateLaunchEnvironment
Launch environment disabling UIKit
animation.
Example:
let disableAnimation = AnimationLaunchEnvironment()
-
Defines associated type from
LaunchEnvironmentProtocol
to beBooleanLaunchEnvironmentValue
.Declaration
Swift
public typealias Value = BooleanLaunchEnvironmentValue
-
Defines
LaunchEnvironmentResourceValue
asAutoMateKey.animation
.Declaration
Swift
public static let key: AutoMateKey
-
Value from which is used as launch enviroment value.
Declaration
Swift
public var value: Value
-
Initialize launch option. By default disable animation (
false
).Declaration
Swift
public init(animation: Value = false)
Parameters
animation
false
(default) if the animation should be disabled.