Here is my original question for adding a new view controller in xcode;
Adding a View Controller in Xcode?
This is the code I observed, that loads out in a new project in Xcode for a view controller.h/m file
.h
@interface ViewController : UIViewController
{
}
@end
.m
@interface ViewController ()
@end
@implementation ViewController
But when I add a new class; I notice there is no 'UIViewController' object but instead there is an NSOBject.
.h
@interface Newclass : NSObject
@end
.m
@implementation Newclass
@end
My question; to successfully programmatically access a new view controller in x code story board, do your new custom .m/.h files have to be formatted as a UIViewController or does it matter.