SkillAgentSearch skills...

UzysDragMenu

Drag Menu you can easily open and close using drag gesture

Install / Use

/learn @uzysjung/UzysDragMenu
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

UzysDragMenu

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

Related Skills

View on GitHub
GitHub Stars134
CategoryDevelopment
Updated3y ago
Forks25

Languages

Objective-C

Security Score

65/100

Audited on Jun 29, 2022

No findings