aaaa aaaa - 4 months ago 10x
iOS Question

not sure whats causing these errors

#import "ViewController.h"

@interface ViewController ()


@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.

- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.


I'm not sure what I changed or how to fix these errors:

Cannot find interface declaration for 'ViewController';
View controller cannot use 'super because it is not a root class


Likely you forgot to sub-class UIViewController (check your header):

@interface ViewController : UIViewController