Using lazy properties in Swift

Lazy properties are great when we want to delay expensive creation of type properties. Here, John Sundell describes the various approaches we can take when using lazy properties, from the basics of simply using the lazy keyword, to using factory methods to extract initialization code and reduce complexity.