If you’re new to iOS / Swift development, you’ve possibly come across the
open keyword, only to ask yourself “What is this all about?”
Understanding the use of this strange keyword can potentially be confusing, however in this post I…
lazy keyword in Swift allows you to delay the initialisation of a stored property until it is needed. The benefit of this approach can be an increase in performance as potentially expensive processes can be avoided during start up if they are not immediately required.