title: Why does Apple create its views this way
body: <p>In the hope of fixing a bug of mine from another post i would like to know why apple writes this (for it's Elements example)</p>
  
  <pre><code>UIView *localContainerView = [[UIView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]];
  self.containerView = localContainerView;
  [localContainerView release];
  </code></pre>
  
  <p>instead of the simpler method:</p>
  
  <pre><code>containerView = [[UIView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]];
  </code></pre>
  
  <p>?</p>