title: How to disable forward class compiler warning (undocumented class)
body: <p>I'm currently writing an iPhone application that uses a UITabBarController with more than 5 Tab Bar Items. Thus, a 'more' tab is automatically generated (like in the YouTube Application).
  I found out that the corresponding view controller class is <a href="http://ericasadun.com/iPhoneDocs220/interface_u_i_more_list_controller.html" rel="nofollow noreferrer">UIMoreListController</a>, but I don't have any corresponding .h files. So, my code looks like this:</p>
  
  <pre><code>@class UIMoreListController; // can't use #import since .h file is missing
  
  @implementation SomeUINavigationControllerDelegate
  
  - (void)navigationController:(UINavigationController *)navigationController
          willShowViewController:(UIViewController *)viewController
          animated:(BOOL)animated
  {
       if ([viewController isKindOfClass:[UIMoreListController class]])
           ... // do something if "more" view is active
  </code></pre>
  
  <p>This works like a charm. However, the compiler keeps giving me</p>
  
  <blockquote>
    <p>warning: receiver 'UIMoreListController' is a forward class and corresponding @interface may not exist</p>
  </blockquote>
  
  <p>Is there a neat way of getting rid of this warning (and this particular warning only)? Again, I can't use <a href="https://stackoverflow.com/questions/322597">#import</a> since no .h file is available.</p>