Skip to content

Commit f79f9fc

Browse files
committed
Fix README formatting.
1 parent 20a1d51 commit f79f9fc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.mdown

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,13 @@ Sample codes are provided in the Demo folder inside the project.
3636
#### Basic Usage
3737

3838
1. Initialize the controller with your root controller.
39+
3940
```objective-c
4041
MWFSlideNavigationViewController * ctl = [[MWFSlideNavigationViewController alloc] initWithRootViewController:yourRootViewController];`
4142
```
4243

4344
2. Assign delegate
45+
4446
```objective-c
4547
// in your root view controller
4648
- (void) viewDidLoad
@@ -52,6 +54,7 @@ Sample codes are provided in the Demo folder inside the project.
5254
```
5355

5456
3. Trigger the slide animation, e.g. revealing menu on the left (will perform slide animation with right direction)
57+
5558
```objective-c
5659
// your action method, e.g. in your root view controller
5760
- (IBAction) showMenu:(id)sender
@@ -65,6 +68,7 @@ Sample codes are provided in the Demo folder inside the project.
6568
```
6669

6770
4. Slide the primary/root view back to conceal the secondary view.
71+
6872
```objective-c
6973
// your action method, e.g. in your root view controller
7074
- (IBAction) closeMenu:(id)sender

0 commit comments

Comments
 (0)