TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Uzysjung macAir.
Drag Menu you can easily open and close using drag gesture.
UzysDragMenu features:
Copy over the files libary folder to your project folder
Import header.
#import "UzysDragMenu.h"
UzysDragMenuItem *item0 = [[UzysDragMenuItem alloc] initWithTitle:@"UzysSlide Menu" image:[UIImage imageNamed:@"0.png"] action:^(UzysDragMenuItem *item) {
NSLog(@"Item: %@", item);
}];
item0.tag = 0;
UzysDragMenuControlView *controlView = [[[NSBundle mainBundle] loadNibNamed:@"UzysDragMenuControlView" owner:self options:nil] lastObject];
[controlView.btnAction addTarget:self action:@selector(actionBtn:) forControlEvents:UIControlEventTouchUpInside];
self.uzysDmenu = [[UzysDragMenu alloc] initWithItems:@[item0,item1,item2]
controlMenu:controlView
superViewGesture:YES];
[self.view addSubview:self.uzysDmenu];