I'm getting this error: "Cannot find interface declaration for 'BaseViewController', superclass of 'ViewController'. Here's the situation:
AppDelegate:
In the header file:
#include UIApplicationDelegate
In the header file:
#import "AppDelegate.h"
Subclass of BaseViewController
#import "BaseViewController.h"
The error doesn't make sense, as BaseViewController
is imported in ViewController
's header file. What is the problem here?
Also check for infinite loops in your import statements