Latest 1.0.0
Homepage https://github.com/uzysjung/UzysDragMenu
License MIT
Platforms ios
Authors

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

Latest podspec

{
    "name": "UzysDragMenu",
    "version": "1.0.0",
    "summary": "Drag Menu you can easily open and close using drag gesture.",
    "authors": {
        "UzysJung": "[email protected]"
    },
    "homepage": "https://github.com/uzysjung/UzysDragMenu",
    "license": {
        "type": "MIT",
        "file": "MIT-LICENSE.txt"
    },
    "platforms": {
        "ios": null
    },
    "source": {
        "git": "https://github.com/uzysjung/UzysDragMenu.git",
        "tag": "1.0.0"
    },
    "requires_arc": false,
    "source_files": "UzysDragMenu/Library",
    "public_header_files": "UzysDragMenu/Library/*.h",
    "ios": {
        "frameworks": "QuartzCore"
    }
}

Pin It on Pinterest

Share This