Tag: 100daysofcode
-
Swift code reviews: Lazy variables
We use the Lazy keyword when we do not want to initialize an object or some of its properties right away, but we put off the work until we need it (The so-called JIT, or Just-In-Time mechanism).
-
Swift code reviews: Private setters
During a code review, I learned that I was using patterns that are not really used in Swift. How to work with public getters and private setters in Swift.