Non-constant-range-argument-must-be-an-integer-literal

Non-constant range: argument must be an integer literal

ForEach(0..<self.models.count)
➡️
ForEach(0..<self.models.count,id:\.self)

记录,暂不清楚原因

你可能感兴趣的:(记录,swift)