title: Get width and height of container from view
body: <p>Forgive me if this is a duplicate. I thought for sure this would be an obvious question.</p>
  
  <p>I have a container in a storyboard, which is of class ModelViewController (the whole view controller). From ModelViewController I need to get the width and height of the container. I am currently trying:</p>
  
  <pre><code>self.view.bounds.size
  </code></pre>
  
  <p>Which yields 0.563380 and 0.000000. I also tried</p>
  
  <pre><code>self.view.frame.size
  </code></pre>
  
  <p>Which yields the dimensions of the entire screen. What am I missing here?</p>