Working with Ranges in Swift
You use ranges in Swift to define values between a lower and upper limit. Ranges are useful for creating slices of arrays, checking if a value is contained in a range, and much more. In this tutorial, well discuss how you can work with ranges in Swift. Well discuss ranges vs. arrays, types of ranges,