title: Unknown Type Name in Xcode (even with @class declaration)
body: <p>I'm having trouble with a simple app setting up a data controller. I get an error on the line <code>@property (strong, nonatomic) BirdsListDataController *dataController;</code> in BirdsListViewController.h. I've tried my best to use a @class declaration of BirdsListDataController, as well as trying to remove any #import statements from the .h files and tried to remove a circular #import which you can find commented out in the top of BirdsListViewController.h. I'm guessing it's something simple.</p>
  
  <p>BirdsListViewController.h</p>
  
  <pre><code>#import &lt;UIKit/UIKit.h&gt;
  @class BirdsListDataController;
  
  @interface BirdsListViewController : UITableViewController &lt;UITextFieldDelegate&gt;
  {
  // NSMutableArray *listOfBirds;
  IBOutlet UITextField *addNewBirdTextField;
  
  }
  //@property (nonatomic, retain) NSIndexPath *checkedIndexPath;
  @property (nonatomic, retain) NSString *textLabelContents;
  @property (nonatomic, retain) NSMutableArray *workingArray;
  @property (strong, nonatomic) BirdsListDataController *dataController;
  @property (strong, nonatomic) IBOutlet UITableView *birdListTableView;
  
  @end
  </code></pre>
  
  <p>BirdsListViewController.m</p>
  
  <pre><code>#import "BirdsListViewController.h"
  #import "BirdsListDataController.h"
  
  @interface BirdsListViewController ()
  @end
  
  @implementation BirdsListViewController
  
  - (id)initWithStyle:(UITableViewStyle)style
  {
      self = [super initWithStyle:style];
      if (self) {
  ...
  </code></pre>
  
  <p>BirdsListDataController.h</p>
  
  <pre><code>#import &lt;Foundation/Foundation.h&gt;     
  @class BirdName;
  
  @interface BirdsListDataController : NSObject
  
  @property (nonatomic, copy) NSMutableArray *listOfBirds;
  -(NSUInteger)countOfList;
  -(BirdName *)objectInListAtIndex:(NSUInteger)theIndex;
  -(void)addBirdNameWithName:(BirdName *)bName;
  @end
  </code></pre>
  
  <p>BirdsListDataController.m</p>
  
  <pre><code>#import "BirdsListDataController.h"
  //#import "BirdsListViewController.h"
  #import "Bird.h"
  
  @implementation BirdsListDataController
  
  -(id)init
  {...
  </code></pre>
  
  <p>I'm still really new to iOS and Objective C, so hopefully my code isn't too awful to troubleshoot. Thanks for the help.</p>