title: Not Able to Set Delegate of View Controller
body: <p>I'm trying to push a view controller like so:</p>
  
  <pre><code>SampleViewControllerB *svcb = [self.storyboard instantiateViewControllerWithIdentifier:@"viewB"];
  svcb.delegate = self;
  [self.navigationController pushViewController:svcb animated:YES];
  </code></pre>
  
  <p>If I remove the  <code>svcb.delegate = self;</code> line, it compiles fine and works properly. However, if I try to add it in, it won't compile and gives the error</p>
  
  <pre><code>Property 'delegate' not found on object of type 'SampleViewControllerB *'
  </code></pre>
  
  <p>Does anybody know how to fix this? Thanks in advance!</p>