Skip to content

Glossary: SwiftUI

ternary operator

Also written: ?:

`condition ? a : b` gives `a` when the condition is true and `b` otherwise.

Where the book teaches it

Related terms

Reduce Motion