title: How do I connect a IBOutlet to a UIView?
body: <p>I'm trying to switch views after an animation as seen:</p>
  
  <pre><code>[UIView beginAnimations: @"Fade Out" context:nil];
  [UIView setAnimationDelay:1.0];
  [UIView setAnimationDuration:0.25];
  splash.alpha = 0.0;
  [UIView commitAnimations];
  [self.view addSubview : view];
  </code></pre>
  
  <p>At the <code>[self.view addSubview : view];</code> I have to add a name for the view for it to add, so I made an <code>IBOutlet</code> like so: (on the first view controller's .h file)</p>
  
  <pre><code>IBOutlet UIView *main;
  </code></pre>
  
  <p>But when I try to connect the <code>*main</code> <code>UIView</code> to the view on the storyboard, it wont let me...
  Thanks so much guys.</p>