I'm trying to set up a pod called MMDrawerViewController
which creates a sliding drawer. I have a navigation controller that has a few table view controllers in it's stack. I inserted this in the NavigationViewController.m
file:
- (void)viewDidLoad
{
[super viewDidLoad];
//Initializing the MMDrawerController views
UIViewController * leftDrawer = [[UIViewController alloc] init];
UIViewController* centerViewController = [[UIViewController alloc] init];
MMDrawerController * drawerController = [[MMDrawerController alloc] initWithCenterViewController:centerViewController leftDrawerViewController:leftDrawer];
}
However when I put this in I get the following error:
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_MMDrawerController", referenced from: objc-class-ref in NavigationViewController.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Is there something different I should be doing?