title: UIView.Type does not have member named bounds
body: <p>I am simply trying to set two var to the bounds.size.width and .height of a view.</p>
  
  <pre><code>import UIKit
  
  class BKView: UIView {
  
      var maxX: CGFloat = bounds.size.width
      var maxY: CGFloat = bounds.size.height
  
  }
  </code></pre>
  
  <p>However Xcode fails saying with error: <em>'BKView.Type' does not have member named 'bounds'.</em></p>
  
  <p>Any suggestions?</p>