Take the 2-minute tour ×

I am using https://github.com/stefanoa/SASlideMenu to implement a left slide menu in my application. I've followed the tutorial and connected everything as the sample project has. But I keep getting this error:

** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Receiver () has no segue with identifier '(null)''

The error comes form the SASlideMenuLeftMenuSegue

[leftMenu didMoveToParentViewController:rootViewController];
NSString* initiaSegueId = [rootViewController.leftMenu.slideMenuDataSource    initialSegueId];
[leftMenu performSegueWithIdentifier:initiaSegueId sender:leftMenu];
share|improve this question
Did you add the identifier in the storyboard? –  rdelmar Jan 29 '13 at 0:44
yes all my segues have identifiers in the storyboard :/ –  TranT Jan 29 '13 at 23:29
What does the log you have there return? –  rdelmar Jan 29 '13 at 23:48
add comment

2 Answers

I was having the same problem. I solved it by adding:

-(id) initWithCoder:(NSCoder *)aDecoder{
    if (self = [super initWithCoder:aDecoder]) {
        // Assign self to the slideMenuDataSource because self will implement SASlideMenuDatSource 
        self.slideMenuDataSource = self;
        self.slideMenuDelegate = self;
    return self;

I initially left this out and was getting the crash. Add this to assign the delegate and datasource to solve it.

share|improve this answer
add comment
up vote 0 down vote accepted

I've figured it. It happened that I was editing a Storyboard and the changes weren't saved. This was happening because there were 2 different storyboards because of the localization :/ I didn't realize that. That was why I set the segue with that ID and kept getting that error

share|improve this answer
add comment

Your Answer


