In case others see this, ForEach does everything a For loop does except that ForEach is designed to be used with SwiftUI. ForEach returns the needed view.
Image, color and file literals were removed from Xcode 13's code completion. So instead of typing "image lit", type the code: #imageLiteral(resourceName: "")
In case others see this, ForEach does everything a For loop does except that ForEach is designed to be used with SwiftUI. ForEach returns the needed view.
Image, color and file literals were removed from Xcode 13's code completion. So instead of typing "image lit", type the code: #imageLiteral(resourceName: "")