The code is within a model that is managed by a viewModel ObservableObject class that communicates with the View Struct.
My issue was that if I have the View handle the number of cards dealt I am able to use the timer to delay the cards so it happens one-by-one. However, I wanted to make it so that it is done in the model instead as this makes more sense for the gameplay as a whole.
@Developer Tools Engineer.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: