title: Storyboard iOS MBProgressHUD
body: <p>I am trying to setup MBProgressHUD on a project that uses storyboards, I am getting the errors below when ever I try to compile it. I then get no popup when I click on my button to call this. Any ideas on what i can do to fix this?</p>
  
  <p>Code:</p>
  
  <pre><code>    HUD = self.navigationController.view;
      [self.navigationController.view addSubview:HUD];
  
      HUD.delegate = self;
      HUD.labelText = @"Loading";
  
      [HUD showWhileExecuting:@selector(myTask) onTarget:self withObject:nil animated:YES];
  </code></pre>
  
  <p>Errors:</p>
  
  <blockquote>
    <p>DetailViewController.m:162:24:{162:24-162:28}: warning: passing
    'DetailViewController *const __strong' to parameter of incompatible
    type 'id' [3]</p>
    
    <p>DetailViewController.m: warning: Semantic Issue: Incompatible pointer
    types assigning to 'MBProgressHUD *__strong' from 'UIView *'</p>
  </blockquote>