title: setBounds in Swift
body: <p>I'm trying to convert a Objective-C app to Swift but I'm stuck with <code>setBounds</code>. The original code looks like this:</p>
  
  <pre><code>- (void)setBounds:(CGRect)bounds {
      [super setBounds:bounds];
  
      // code
  }
  </code></pre>
  
  <p>What is the equivalent in Swift? I've tried looking in the documents and google but can't seem to figure it out.</p>