init(_:animatedValue:)
Creates a bindable value.
Declaration
init(_ value: T, animatedValue: T? = nil)Parameters
- value:
A value that reflects the state of the animated property before or after an animation.
- animatedValue:
A value that represents the state of the animated property as an animation progresses.