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
Try adding
#import <UIKit/UIKit.h>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With