Skip to content

Commit 82fbc61

Browse files
committed
Added resources for README and updated example project
1 parent 42a15ac commit 82fbc61

File tree

5 files changed

+3
-0
lines changed

5 files changed

+3
-0
lines changed

Example/ContextMenu/ViewController.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ - (IBAction)presentMenuButtonTapped:(UIBarButtonItem *)sender {
7878
self.contextMenuTableView.animationDuration = 0.15;
7979
//optional - implement custom YALContextMenuTableView custom protocol
8080
self.contextMenuTableView.yalDelegate = self;
81+
//optional - implement menu items layout
82+
self.contextMenuTableView.menuItemsSide = Left;
83+
self.contextMenuTableView.menuItemsAppearanceDirection = FromBottomToTop;
8184

8285
//register nib
8386
UINib *cellNib = [UINib nibWithNibName:@"ContextMenuCell" bundle:nil];

Resources/BottomLeft.png

423 KB
Loading

Resources/BottomRight.png

431 KB
Loading

Resources/TopLeft.png

389 KB
Loading

Resources/TopRight.png

394 KB
Loading

0 commit comments

Comments
 (0)