title: UIView frame.size.width is equal to zero?
body: <p>I created a subclass of UIView and within the subclass I try to access the views' width property. I try to get the width like this,</p>
  
  <pre><code>CGFloat width = self.frame.size.width;
  NSLog(@"Width: %f", width);
  </code></pre>
  
  <p>However for some reason the width I'm getting is equal to 0.000000</p>
  
  <p>When I create the view I'm setting the frame property using the CGRectMake() function and the view is clearly displaying properly so why would the width property return zero?</p>