title: What is the advantage of a lazy var in Swift
body: <p>What is the advantage or difference of initializing:</p>
  
  <pre><code>lazy var hintView: HintView = {
          let hintView = HintView()
          return hintView
  }()
  </code></pre>
  
  <p>Instead of simply use:</p>
  
  <pre><code>var hintView = HintView()
  </code></pre>
  
  <p>(<code>HintView</code> is: <code>class HintView: UIView {}</code>)</p>
  
  <p>Help is very appreciated.</p>