title: Convert a CGPointo to Int in swift
body: <p>I'm building a class to handle with a basic graphic. I'm a newby and I'm on a self learning project to build small apps in Swift for IOS devices, since I found the language very easy to learn.</p>
  
  <p>I've set in my class of type <code>UIView</code> two constants of type <code>CGPoint</code>:</p>
  
  <pre><code>let heigh = bounds.size.heigh
  let width = bounds.size.width
  </code></pre>
  
  <p>These 2 variables are <code>CGFloat</code>, but I need them to be Int.
  Appreciate help to convert them to these type value.</p>