You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+47-36
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,13 @@
2
2
3
3
iOS 7 style side menu inspired by Dribbble shots ([first](http://dribbble.com/shots/1116265-Instasave-iPhone-App) and [second](http://dribbble.com/shots/1114754-Social-Feed-iOS7)).
@@ -20,7 +20,7 @@ Build and run the `RESideMenuExample` project in Xcode to see `RESideMenu` in ac
20
20
### CocoaPods
21
21
22
22
The recommended approach for installating `RESideMenu` is via the [CocoaPods](http://cocoapods.org/) package manager, as it provides flexible dependency management and dead simple installation.
23
-
For best results, it is recommended that you install via CocoaPods >= **0.15.2** using Git >= **1.8.0** installed via Homebrew.
23
+
For best results, it is recommended that you install via CocoaPods >= **0.26.2** using Git >= **1.8.0** installed via Homebrew.
24
24
25
25
Install CocoaPods if not already available:
26
26
@@ -41,7 +41,7 @@ Edit your Podfile and add RESideMenu:
41
41
42
42
```bash
43
43
platform :ios, '6.0'
44
-
pod 'RESideMenu', '~> 2.0.2'
44
+
pod 'RESideMenu', '~> 3.0'
45
45
```
46
46
47
47
Install into your Xcode project:
@@ -64,47 +64,58 @@ All you need to do is drop `RESideMenu` files into your project, and add `#inclu
64
64
65
65
## Example Usage
66
66
67
+
In your AppDelegate's `- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions` create the view controller and assign content and menu view controllers.
1. Create a subclass of `RESideMenu`. In this example we call it `DEMORootViewController`.
94
+
2. In the Storyboard designate the root view's owner as `DEMORootViewController`.
95
+
3. Make sure to `#import "RESideMenu.h"` in `DEMORootViewController.h`.
96
+
4. Add more view controllers to your Storyboard, and give them identifiers "menuViewController" and "contentViewController". Note that in the new XCode the identifier is called "Storyboard ID" and can be found in the Identity inspector.
97
+
5. Add a method `awakeFromNib` to `DEMORootViewController.m` with the following code:
0 commit comments