title: Swift: expected declaration error with .frame
body: <p>Hey guys i am using the xcode6 beta 4.</p>
  
  <p>Im trying to to give a button a size with the argument .frame but i got an expected declaration error. I hope you can tell me whats wrong with my code and why i get this error!</p>
  
  <pre><code> var button1   = UIButton.buttonWithType(UIButtonType.System) as UIButton
   button1.frame = CGRectMake(100, 100, 40, 145) //Expected declaration
   button1.addTarget(self, action: "Action:", forControlEvents:UIControlEvents.TouchUpInside)
   menuView.addSubview(button)
  </code></pre>