title: xcode unknown type name
body: <p>I got code like this:</p>
  
  <p>Match.h:</p>
  
  <pre><code>#import &lt;Foundation/Foundation.h&gt;
  #import "player.h"
  
  @interface Match : NSObject
  {
      Player *firstPlayer;
  }
  
  @property (nonatomic, retain) Player *firstPlayer;
  
  @end
  </code></pre>
  
  <p>Player.h:</p>
  
  <pre><code>#import &lt;Foundation/Foundation.h&gt;
  #import "game.h"
  @interface Player : NSObject
  {
  }
  
  - (Player *) init;
  
  //- (NSInteger)numberOfPoints;
  //- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil;
  
  
  @property (nonatomic, retain) NSString *name;
  @property (nonatomic, retain) NSString *surname;
  @property (nonatomic, assign) NSInteger *player_id;
  @property (nonatomic, retain) NSString *notes;
  
  @end
  </code></pre>
  
  <p>Game.h:</p>
  
  <pre><code>#import &lt;Foundation/Foundation.h&gt;
  #import "match.h"
  #import "player.h"
  
  @interface Game : NSObject
  {
      NSMutableArray *matches;
      NSMutableArray *players;
      NSString *name;
  }
  
  -(Game *) init;
  
  @property (nonatomic, retain) NSMutableArray *matches;
  @property (nonatomic, retain) NSMutableArray *players;
  @property (nonatomic, retain) NSString *name;
  
  @end
  </code></pre>
  
  <p>Xcode won't compile my project and show me error unknown type 'Player' in Match.h when I declare *firstPlayer.</p>
  
  <p>I tried cleaning project, rebuilding it but without any result...</p>