title: Access a Views Subviews from ViewController
body: <p>I have a <code>ViewController</code> and a <code>View</code> in separate files.
  In the <code>ViewController</code> I add the View like this:</p>
  
  <pre><code>- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
  {
      self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
      if (self) {
  
          mainView = [[MainView alloc] init];
          [self setView: mainView];
  
      }
      return self;
  }
  </code></pre>
  
  <p>In that <code>mainView</code> there is a label, added as <code>SubView</code>. I would like to change the labels text from my controller. How would I do that? </p>
  
  <p>I can't figure out how to access the label from the controller. </p>