title: Objective C - Error: 'Expected a type'
body: <p>I'm getting a very strange error on something that I would have thought to be simple.</p>
  
  <pre><code>#import &lt;Foundation/Foundation.h&gt;
  #import "ViewController.h"
  #import "GameObject.h"
  
  
  @interface GameController : NSObject 
  
  @property (strong) GLKBaseEffect * effect;
  @property (strong) NSMutableArray * gameObjects;
  @property (strong) NSMutableArray * objectsToRemove;
  @property (strong) NSMutableArray * objectsToAdd;
  
  
  + (GameController *) sharedGameController;
  - (void) tick:(float)dt;
  - (void) initializeGame: (ViewController*) viewcontroller;//ERROR: EXPECTED A TYPE
  
  - (void) createObject:(Class) objecttype atPoint:(CGPoint)position;
  - (void) deleteObject:(GameObject*) object atPoint:(CGPoint)position;
  - (void) manageObjects;
  
  @end
  </code></pre>
  
  <p>Why would it question whether or not 'ViewController' is a type? It's a class that I've correctly implemented. It has also been imported.</p>
  
  <p>EDIT <em>*</em></p>
  
  <p>Here is the ViewController.m class if it helps.</p>
  
  <pre><code>#import "ViewController.h"
  
  @implementation ViewController
  
  - (void)viewDidLoad
  {
      [super viewDidLoad];
      [[GameController sharedGameController] initializeGame:self];
  }
  
  @end
  </code></pre>
  
  <p>EDIT 2 <strong>**</strong></p>
  
  <p>and the ViewController.h file</p>
  
  <pre><code>#import &lt;GLKit/GLKit.h&gt;
  #import "GameController.h" 
  
  @interface ViewController : GLKViewController
  
  @end
  </code></pre>