Skip to content

Glossary: SwiftUI

$ (dollar sign prefix)

Also written: $, $quantity, projected value

A `$` before a @State or @Binding property passes a binding to it, giving a control read and write access. For example, `$quantity` lets a Stepper change the quantity.

Where the book teaches it

Related terms

binding@Binding@State