title: Programmatically creating a NSImageView in Swift 3.0
body: <p>According to the documentation here:
  <a href="https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSImageView_Class/" rel="nofollow">https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSImageView_Class/</a></p>
  
  <p>I have tried programmatically creating a NSImage view:</p>
  
  <pre><code>var thing = NSImageView.init(frame:CGRectMake(10, 10, 256, 256))
  
  thing.image = NSImage(named:"test.png")
  </code></pre>
  
  <p>It runs without any errors in Xcode and successfully creates the view, but nothing can be seen in the view controller anywhere.</p>
  
  <p>I also want to add the following parameters to the view but Xcode cannot find them:</p>
  
  <pre><code>thing.editable:"YES"
  
  thing.animates:"YES"
  </code></pre>