title: Swift - Checking size of UIImageView
body: <p>I am trying to print a line to the debugger/console to show the dimensions of the UIImageView object I have. I was trying to use the following code but get an error saying UIImageView doesn't have a member named 'size'. This was my code:</p>
  
  <pre><code>    @IBOutlet var Image: UIImageView!
  
  override func viewDidLoad() {
  
          super.viewDidLoad()
  
  
      var imageHeight = Image.size.height
      var imageWidth = Image.size.width
  
  print (imageHeight)
  print (imageWidth)
  
  }
  </code></pre>