You’ll store changes to the scrum in a
Dataproperty. You’ll define the property using the@Statewrapper because you need to mutate the property from within the view.
SwiftUI observes
@Stateproperties and automatically redraws the view’sbodywhen the property changes.
Each piece of data that you use in your view hierarchy should have a single source of truth. You can use the
@Stateproperty wrapper to define the source of truth for value types.
Declare
@Stateproperties as private so they can be accessed only within the view in which you define them.