After updating to Xcode 10 beta, which apparently comes with Swift 4.1.50, I\'m seeing the following error which I\'m not sure how to fix:
Cannot invo
Turns out, ranges do not have to be initialized but can simply be created as follows:
let range: Range = start...end
In this case, the code would be fixed by replacing Range(start.. with:
Range(start.. with:
let range: Range = start..