title: iOS Slide/Swipe menu like facebook app
body: <p>I know there are tons of projects, I searched in <a href="https://www.cocoacontrols.com/" rel="nofollow">https://www.cocoacontrols.com/</a> and found some very interesting, like <code>MasterDetailController</code>, that is the simlpest one and I got working very good.</p>
  
  <p>But now I have a problem, and probabbly you can help me with another cool and simple slide control, or just a matter of simple tweak of current control or coding.</p>
  
  <p>The main issue is that the <code>MasterDetailController</code> must be set on <code>self.window.rootViewControler = self.principal;</code></p>
  
  <pre><code>/* THIS IS THE APPDELEGATE */
  // This is the slide menu view controller
  UIViewController *master = [[UIViewController alloc] initWithNibName: @"MasterView" bundle: nil];
  // This is the body view controller
  ViewController *detail = [[ViewController alloc] initWithNibName: @"ViewController" bundle: nil];
  // This is the Master detail controller 'driver'
  self.principal = [[[MasterDetailController alloc] initWithMasterViewController: master detailViewController: detail] autorelease];
  // Then we set the 'driver' as rootView
  self.window.rootViewController = self.principal;
  [self.window makeKeyAndVisible];
  </code></pre>
  
  <p>Now, I want more <code>ViewControllers</code> to have the <code>slide menu like facebook app</code> not just the <code>rootViewController</code>.</p>
  
  <p>So, how can I do it?</p>
  
  <p>Thanks.</p>
  
  <p>PS: This is the control I am currently using <a href="https://www.cocoacontrols.com/controls/masterdetailcontroller" rel="nofollow">https://www.cocoacontrols.com/controls/masterdetailcontroller</a></p>