Skip to content

Glossary: SwiftUI

Spacer

Also written: Spacer()

A view that takes all the free space along its stack, such as pushing the price to the right edge of a menu row.

Where the book teaches it

Related terms

HStack.frame