title: setting file owner of a xib file
body: <p>Hi I am reading a book where I had to deal with such situation.
  I created a XIB file named <code>HeaderView.xib.</code> Then I connected the <code>File Owner</code> of this XIB
  file to <code>ItemsViewController</code>. All is fine so far. I also connected
  some outlets of the ItemsViewController with views on the XIB.</p>
  
  <p>Now, in the <code>ItemsViewController</code> I had to call such code:</p>
  
  <pre><code>- (UIView *)headerView
  {
      // If we haven't loaded the headerView yet...
      if (!headerView) {
          // Load HeaderView.xib
          [[NSBundle mainBundle] loadNibNamed:@"HeaderView" owner:self options:nil];
      }
  
      return headerView;
  }
  </code></pre>
  
  <p>Code above would set <code>headerView</code> outlet of <code>ItemsViewController</code> point to the corresponding
  view on the XIB file (the one I made connections with on XIB file).
  My question is, why did I have to, <strong><em>two times</em></strong>, specify the owner? (e.g., once in the XIB as I mentioned in the start of this port, and second time, above in the code, e.g., <code>owner: self</code>).</p>