Skip to content

Commit d72c99b

Browse files
committed
Update README.md
1 parent 8939751 commit d72c99b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,6 @@ Closes the menu and calls the completion block oppon animation completion
119119
###### - (void)toggleLeftMenu;
120120
Toggles the left menu open or close depending on the existing state. This was made public in order to pass the selector to a custom UIBarButtonItem (ex: UIBarButtonItem with a button as a custom view)
121121

122-
###### - (void)bounceMenu:(Menu)menu withCompletion:(void (^)())completion;
123-
Bounces either right or left menu, and calls the completion block oppon animation completion
124122
```
125123
UIButton *button = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, 30, 30)];
126124
[button setImage:[UIImage imageNamed:@"menu-button"] forState:UIControlStateNormal];
@@ -129,6 +127,8 @@ UIBarButtonItem *rightBarButtonItem = [[UIBarButtonItem alloc] initWithCustomVie
129127
[SlideNavigationController sharedInstance].rightBarButtonItem = rightBarButtonItem;
130128
```
131129

130+
###### - (void)bounceMenu:(Menu)menu withCompletion:(void (^)())completion;
131+
Bounces either right or left menu, and calls the completion block oppon animation completion
132132
###### - (void)toggleRightMenu;
133133
Works exactly the same as toggleLeftMenu, but used to toggle left menu
134134

0 commit comments

Comments
 (0)