My application start with a view thats not use ECSlidingViewController
, and then have a button to another that uses it.
In switching the views using Storyboard Segue
, but I'm getting error.
What should I add to btnGoSecondView
to load ECSlidingViewController
properly?
Code:
-(IBAction)btnGoSecondView:(id)sender {
[self performSegueWithIdentifier:@"SecondViewShow" sender:self];
}
Error:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil'