File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -36,11 +36,13 @@ Sample codes are provided in the Demo folder inside the project.
36
36
#### Basic Usage
37
37
38
38
1 . Initialize the controller with your root controller.
39
+
39
40
``` objective-c
40
41
MWFSlideNavigationViewController * ctl = [[MWFSlideNavigationViewController alloc ] initWithRootViewController: yourRootViewController] ;`
41
42
```
42
43
43
44
2 . Assign delegate
45
+
44
46
``` objective-c
45
47
// in your root view controller
46
48
- (void ) viewDidLoad
@@ -52,6 +54,7 @@ Sample codes are provided in the Demo folder inside the project.
52
54
```
53
55
54
56
3 . Trigger the slide animation, e.g. revealing menu on the left (will perform slide animation with right direction)
57
+
55
58
``` objective-c
56
59
// your action method, e.g. in your root view controller
57
60
- (IBAction ) showMenu:(id )sender
@@ -65,6 +68,7 @@ Sample codes are provided in the Demo folder inside the project.
65
68
```
66
69
67
70
4 . Slide the primary/root view back to conceal the secondary view.
71
+
68
72
``` objective-c
69
73
// your action method, e.g. in your root view controller
70
74
- (IBAction ) closeMenu:(id )sender
You can’t perform that action at this time.
0 commit comments