How to Make a Slide Out Menu with Objective-C in Xcode

Jared Davidson · 123K views · 2014 · 20:49

Open on YouTube

Software (other)Web developmenttutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it as the tutorial they followed when setting up SWRevealViewController slide-out menus, usually when asking why their segues, back button, or gesture recognizer fail.

Recommended by 1 people across 1 different months, 2015 to 2015.

What it is

A roughly 20-minute Objective-C tutorial by Jared Davidson on building a slide-out (hamburger-style) side menu in an iOS app using Xcode and the SWRevealViewController library. It walks through the storyboard setup and segues, with downloadable project files.

What people said

Recommends Izzy · 2015-10 · Stack Overflow · on “"unrecognized selector sent to instance" error during performSegueWithIdentifier, using SWRevealViewController”

I'm new to iOS development and I'm implementing a slide-out menu, using the well-known SWRevealViewController by John Lluch. I'm following this video tutorial: [this video] So far I have this storyboard: [LINK] The initial scene (Reveal View Controller) is trying to automatically trigger the 1st two segues (to the Table View and Navigation Controller). When I build the app, I get the following error: [SWRevealViewController initWithIdentifier:source:destination:]: unrecognized selector sent to instance 0x7d96f000 This error occurs on the line I've indicated below, in the 'loadStoryboardControllers' method, in SWRevealViewController.m (which is the class of my initial 'RevealViewController' scene

Cites Tulon · 2015-02 · Stack Overflow · on “How to add right side Slide Menu iOS”

I want to make a Slide Menu (both right & left side) in Storyboard. Here the left Side Menu panel is a viewController and an UITableView with customCell embedded in it to perform the menu style. I have followed a youtube "tutorial" [this video] and the left side panel working perfectly. But now I need to do the same thing for right side slide menu. Exact same thing. When I connect the segue, the sw_rear storyboard segue identifier is used for the left menu and the sw_front storyboard segue identifier is used for the front viewController . Or the 1st viewController of the left silde menu list. But there has also a segue identifier in the main source file ("SlideOutMenuFiles") which is sw_right , a

Cites Steven · 2015-02 · Stack Overflow · on “launch Youtube channel on your App Swift Code”

Dear Luca, Thanks for Respond but It is a webURL. i am looking something just like this link " [this video] " this guy did with objective C but i am looking the Swift one.

Cites hantoren · 2015-06 · Stack Overflow · on “Slide Out Menu without a back Button”

I use SWRevealViewController for my Slide Out Menu. I did actually the same like he did it here: [this video] , but even I add a new ViewController and connect it with the segue "reveal view controller", start the app and click on the row to open the view controller, it will works, but I don't have a back Button. Why?

Cites Priyanka · 2015-08 · Stack Overflow · on “self.revealViewController.panGestureRecognizer showing null in iOS SWRevealViewController”

I wan't to use SWRevealViewController in my application for that i follow steps as per given link " [this video] ". But my application get crashed at this line [self.view addGestureRecognizer:self.revealViewController.panGestureRecognizer]; Complier showing following error terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil'. Please check my story board design [LINK] [LINK] Bellow are my Code for blue background view where i want to open reveal view controller .h file #import <UIKit/UIKit.h> #import "SWRevealViewController.h" @interface DashboardSixOptionViewController : UIViewController { SWRevealViewContr