Setting up a basic app with SWRevealViewController

suggest change

Create a basic application with single view application template with swift as language

Add SWRevealViewController.h and SWRevealViewController.m

then click on Create Bridging Header button

and add

#import "SWRevealViewController.h"

on the Bridging header

Then select viewController on storyboard and change class to SWRevealViewController

Then rename the viewController on files to MainViewController and add new ViewController with RightViewController name

then we add two segues from SWRevealViewController to MainViewController and from SWRevealViewController to RightViewController, then we need to select the first (from SWRevealViewController to MainViewController) and edit properties

on identifier set sw_front on Class set SWRevealViewControllerSegueSetController

after this we need to do the same with the segue (from SWRevealViewController to RightViewController)

on identifier set sw_rear on Class set SWRevealViewControllerSegueSetController

then on MainViewController add this line on viewDidLoad method

self.view.addGestureRecognizer(self.revealViewController().panGestureRecognizer());

And this is all, you have a basic app with SWRevealViewController integrated, you can swipe to right to show RightViewController as lateral menu

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


SWRevealViewController:
* Setting up a basic app with SWRevealViewController

Table Of Contents
12 UIView
15 UIColor
26 UIImage
28 CALayer
30 NSDate
40 iBeacon
49 NSTimer
79 NSURL
80 SWRevealViewController
87 AWS SDK
96 NSData
101 Segues
104 EventKit
105 NSBundle
106 SiriKit
111 StoreKit
117 3D Touch
119 Keychain
122 Block
141 AirDrop
144 UISlider
145 Carthage
146 HealthKit
151 plist
157 MVVM
164 UIPhoenix
166 Simulator
168 NSArray
169 OpenGL
175 Core Data
179 MyLayout
180 UIFont
189 Security
200 Codable