I'm getting this warning with Xcode 13.3
let kLoops = 6
and then in a view:
ForEach(0..<kLoops) {
And getting: Non-constant range: argument must be an integer literal
Am I doing anything wrong? Or is there a way to suppress this warning?
I'm getting this warning with Xcode 13.3
let kLoops = 6
and then in a view:
ForEach(0..<kLoops) {
And getting: Non-constant range: argument must be an integer literal
Am I doing anything wrong? Or is there a way to suppress this warning?