I am using the Swift step for the first time. However, first it is on the verge of being the last, since I cannot get this to work:
let boundingBox = createdShape.frame
stride(from: Int(boundingBox.minX), to: Int(boundingBox.maxX), by: 10) {
Result:
Cannot call 'stride' using a list of arguments like '(from: Int, to: Int, by: Int, () → ())'
What am I doing wrong?
source
share