Skip to content

Commit 3e847d0

Browse files
Merge pull request #27 from Yalantis/feature/es_updating_README
Added resources for README and updated example project
2 parents a410b1a + b71a2d3 commit 3e847d0

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 = Right;
83+
self.contextMenuTableView.menuItemsAppearanceDirection = FromTopToBottom;
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)