Skip to content

feed0/DiceRoller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Dice Roller

Develop in Swift Tutorials - Buttons and state: Update the UI with state

Catchup!

In this tutorial I learned:

  1. how to use the @State property wrapper to create reactive data that SwiftUI monitors, automatically updating the User Interface whenever the underlying values change;
  2. how to use ForEach to display a dynamic value of dice;
  3. and how to set boundaries for the amount of dice in between [1, 5]

Screen recording

DiceRoller-2026-01-10.mov

Contributors

Languages