Slider Menu Error
<p>I am getting</p>

<blockquote>
  <p><strong>* Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: *</strong></p>
</blockquote>

<p>error while following this tutorial. <a href="http://www.appcoda.com/ios-programming-sidebar-navigation-menu/" rel="nofollow">http://www.appcoda.com/ios-programming-sidebar-navigation-menu/</a></p>

<p>I am try to make slider menu...I have done all the things correctly but I don't understand why I am getting this error.</p>

<p>DashboardViewController.h</p>

<pre><code>@interface DashboardViewController : UIViewController

@property (weak, nonatomic) IBOutlet UIButton *menuButton;   

@end
</code></pre>

<p>DashboardViewController.m</p>

<pre><code>[_menuButton addTarget:self.revealViewController action:@selector(revealToggle:) forControlEvents:UIControlEventTouchUpInside];

[self.view addGestureRecognizer:self.revealViewController.panGestureRecognizer];
</code></pre>