Hey I know there must be something I'm missing that should be obvious but I need some help because I can not find it. I have a class TeacherViewController and it inherits from UIViewController. But when I try to call the method performSegueWithIdentifier, I get an error saying: No visible @interface for 'TeacherViewController' declares the selector 'performSegueWithIdentifier:'.
Here's my code for TeacherViewController.m:
Is there something obvious I am missing?
Here's my code for TeacherViewController.m:
Code:
@interface TeacherViewController ()
@end
@implementation TeacherViewController
-(void) segueMethod
{
[self performSegueWithIdentifier: @"toSchedule"];
}
Is there something obvious I am missing?
Last edited: