Your First iOS & SwiftUI App: An App from Scratch, Episode 18: Create a Model | Kodeco

Create a basic data model for Bull’s Eye, that stores the target, current round and total score.


This is a companion discussion topic for the original entry at https://www.kodeco.com/37086140-your-first-ios-swiftui-app-an-app-from-scratch/lessons/18

Why we marked our model (game) as state property, since we are not using its value for any state change…?