title: Using variables in CGRectMake, Swift, UIkit
body: <p>For an App I'm making i need to use variables to change the size and position of objects (Labels). I've tried <code>var example = CGRectMake(0, 0, 0, 100)</code>, hoping it would ignore the zeros (Not really thinking it <i> would </i> though). I then tried:</p>
  
  <pre><code>var example = 100
  Label1.frame = CGRectMake(20, 20, 50, example)
  </code></pre>
  
  <p>I changed the syntax a bit, adding "" and replacing the <code>CGRectMake</code> with <code>CGRect</code> etc, but nothing worked... I don't get what I'm doing wrong here... Help!</p>