title: Have outlets in extensions
body: <p>What is the reason we can't have the outlets for views in a ViewController's extension?</p>
  
  <p>In the and it's the same class referenced by the same xib.</p>
  
  <p>As described in the <a href="https://developer.apple.com/library/content/documentation/Swift/Conceptual/Swift_Programming_Language/Extensions.html#//apple_ref/doc/uid/TP40014097-CH24-ID151" rel="nofollow noreferrer">swift guide</a> from apple:</p>
  
  <blockquote>
    <p>Extensions in Swift can:</p>
    
    <p>Add computed instance properties and computed type properties</p>
    
    <p>Define instance methods and type methods</p>
    
    <p>Provide new initializers</p>
    
    <p>Define subscripts</p>
    
    <p>Define and use new nested types</p>
    
    <p>Make an existing type conform to a protocol</p>
  </blockquote>
  
  <p>I presume as suggested in the comments that it has to do something with memory. While a new stored property will increase the memory for that object a computed one will not.</p>