Skip to content

Glossary: SwiftUI

Int.random(in:)

Picks a whole number at random from a range. Checkout uses `1000...9999` so the pickup code always has four digits.

Where the book teaches it

Related terms

Ticket