addAnimation(_:)
Adds a closure you can use to animate view properties.
Declaration
func addAnimation(_ block: @escaping () -> Void)Parameters
- block:
A closure that sets animatable view properties and runs on the main thread.
Adds a closure you can use to animate view properties.
func addAnimation(_ block: @escaping () -> Void)A closure that sets animatable view properties and runs on the main thread.