Update README.md

This commit is contained in:
Aryan Ghassemi 2014-02-07 13:09:21 -08:00
parent 439a6d76aa
commit 8939751726
1 changed files with 3 additions and 0 deletions

View File

@ -118,6 +118,9 @@ Closes the menu and calls the completion block oppon animation completion
###### - (void)toggleLeftMenu;
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)
###### - (void)bounceMenu:(Menu)menu withCompletion:(void (^)())completion;
Bounces either right or left menu, and calls the completion block oppon animation completion
```
UIButton *button = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, 30, 30)];
[button setImage:[UIImage imageNamed:@"menu-button"] forState:UIControlStateNormal];