UzysDragMenu 1.0.0

UzysDragMenu 1.0.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Uzysjung macAir.



  • By
  • UzysJung

Drag Menu you can easily open and close using drag gesture.

Screenshot Screenshot

UzysDragMenu features:

  • Very Easy to customize menu view , you can use interface builder.
  • you can choose drag area (superView or MenuView), using Option : isSuperViewGesture
  • Support Both ARC and non-ARC Project

Installation

Copy over the files libary folder to your project folder

Usage

Import header.

#import "UzysDragMenu.h"

Initialize

1. make menu Item

UzysDragMenuItem *item0 = [[UzysDragMenuItem alloc] initWithTitle:@"UzysSlide Menu" image:[UIImage imageNamed:@"0.png"] action:^(UzysDragMenuItem *item) {
    NSLog(@"Item: %@", item);

}];
item0.tag = 0;

2. make controlview

UzysDragMenuControlView *controlView = [[[NSBundle mainBundle] loadNibNamed:@"UzysDragMenuControlView" owner:self options:nil] lastObject];

[controlView.btnAction addTarget:self action:@selector(actionBtn:) forControlEvents:UIControlEventTouchUpInside];

3. make UzysDragmenu

self.uzysDmenu = [[UzysDragMenu alloc] initWithItems:@[item0,item1,item2]
                                         controlMenu:controlView
                                    superViewGesture:YES];
[self.view addSubview:self.uzysDmenu];

Contact

License