Using Swift’s Ranges
Open and half-open?
2 min readNov 16, 2020
Before we start
Ranges are extremely useful when you produce Swift applications as they allow you to select a range (that is, a subset of an existing) type.
Difficulty: Beginner | Easy | Normal | Challenging This article has been developed using Xcode 12.1, and Swift 5.3