title: Is there a way to programmatically update frames (Swift)
body: <p>Is it possible to update the frames like in the interface builder but programmatically? Some of my objects get misplaced because of an animation (which I'll want to fix anyway, I guess..) but it brought to mind the aforementioned question</p>
  
  <p>Edit: I have done some googling as well as looking on stackoverflow and not found what I'm looking for.
  I want to update the frames of some buttons back to the constraints I set in the interface builder.
  Sorry if this is too simple of a question, but I'm just looking for a simple answer: yes or no + line of code or the method to call. it probably won't even end up in my final project; I'm just curious.</p>
  
  <p>Here's some code, since I guess that would help:</p>
  
  <pre><code>@IBAction func optionsButtonPushed(sender: AnyObject) {
  
      UIView.animateWithDuration(2, animations: {
          var theFrame = self.optionsMenu.frame
          theFrame.size.height += 100
          self.optionsMenu.frame  = theFrame
      })
  }
  </code></pre>
  
  <p>The buttons located in the view I'm rolling in (from a height of zero) disappear because of the animation, I guess, so there's probably a better way than what I'm thinking
  (sorry this question is so crazy; it's my first one!)</p>