SwiftUI
Describe your interface once, in Swift, and let it adapt to every Apple platform.
Overview
You declare what the screen should look like for a given state. When the state changes, SwiftUI works out what to redraw. Layout, accessibility, Dark Mode and localization come along by default.
View
A lightweight description of a piece of UI. Compose small views into bigger ones.
@State
Local, view-owned values. Change one and the views that read it update.
@Observable
Share model objects across views; only what reads a property re-renders.
NavigationStack
Data-driven navigation with a path you can push, pop and restore.
History
How it grew up.
Introduced
Announced at WWDC19 as a declarative way to build UI in Swift.
Full app lifecycle
The App protocol arrives, along with widgets built entirely in SwiftUI.
New navigation
NavigationStack, the Layout protocol and Swift Charts.
Observation
The @Observable macro, plus SwiftData built to pair with it.
Liquid Glass
Apps pick up the new system design language.