Interesting ways of using Swift optionals
The concept of optionals has been a core part of Swift since the very beginning, and it’s incredibly rare to come across a Swift code base that doesn’t use optional values one way or another. However, despite both being so commonly used, and conceptually simple (an optional either contains a value, or it doesn’t), optionals…