Contents

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.

See Also

Adding an Animation