title: loadView: functions in UIView iOS
body: <p>I don't understand the mechanism of <code>loadView:</code> function (this function is in UIView).</p>
  
  <p>I created a project as below:</p>
  
  <ul>
  <li>First, I created a iPhone's  window-based project.</li>
  <li>Then, I created a <code>UIView</code> subclass</li>
  <li>Next, I created a <code>UIViewController</code> subclass, with no xib.</li>
  <li>Lastly, in the <code>loadView:</code> function of the class I created in the third step, I designate the UIView object (in the class I created in the second step) as the view variable of the <code>UIViewController</code> object (in the third step).</li>
  </ul>
  
  <p>If I omit the last step, and place the statement <code>NSLog(@"test LoadView");</code> in the loadView: function, then when the project is run, the statement <code>NSLog(@"test LoadView");</code> is invoked continuously, result in the run is overflow.</p>
  
  <p>Please explain me! Thank you!</p>