Skip to content

Glossary: SwiftUI

alert

Also written: .alert, alert(_:isPresented:presenting:)

A small box over the screen with a title, a message and buttons. `.alert` shows one while its Bool binding is true and sets it back to false when a button is tapped, as with the pickup code.

Where the book teaches it

Related terms

binding.sheet