I'm trying to figure out how to use the Stride features in Swift.
It seems to have changed again, since Xcode 7.0 beta 6.
Previously I could use
let strideAmount = stride(from: 0, to: items.count, by: splitSize)
let sets = strideAmount.map({ clients[$0..<advance($0, splitSize, items.count)] })
Now, despite the code hint I cannot figure out how to use this feature.
Any examples would be helpful thanks.
I've looked at examples, but I cannot come to grips with how to use it. All I get from the Apple Docs are limited.
Thanks