Objetivo C - Error: 'Se esperaba un tipo'
Estoy recibiendo un error muy extraño en algo que habría pensado que era simple.
#import <Foundation/Foundation.h>
#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
¿Por qué cuestionaría si 'ViewController' es un tipo o no? Es una clase que he implementado correctamente. También se ha importado.
EDITAR*
Aquí está la clase ViewController.m si ayuda.
#import "ViewController.h"
@implementation ViewController
- (void)viewDidLoad
{
[super viewDidLoad];
[[GameController sharedGameController] initializeGame:self];
}
@end
Editar 2**
y el archivo ViewController.h
#import <GLKit/GLKit.h>
#import "GameController.h"
@interface ViewController : GLKViewController
@end