Skip to content

Glossary: SwiftUI

state

Data that changes while the app runs, such as a count, a choice or typed text. Views are remade often, so changing data lives in state.

Where the book teaches it

Related terms

@Statedeclarative