In the ScoreKeeper tutorial there's the following code:
ForEach($players) { $player in
GridRow {
TextField("Name", text: $player.name)
Text("\(player.score)")
Stepper("\(player.score)", value: $player.score)
.labelsHidden()
}
}
Can someone please explain why the 2 instances of "player.score" are not preceded by "$". Thanks!