Skip to content

Glossary: SwiftUI

withAnimation

A function that wraps code changing state so every view change it causes is animated. Transitions need it to play.

Where the book teaches it

Related terms

animationtransition