Skip to content

Yuzeyang/SideMenuAnimation

Repository files navigation

SideMenuAnimation

Introduction

This is the animation of the side menu popup from the left side of the view.you can use a button or a pan gesture to show the menu like my demo.

How to use

_sideView = [[SideView alloc] initWithTitleItems:@[@"首页",@"消息",@"推荐",@"更多",@"1",@"2",@"3"]];
_sideView.menuBtnClick = ^(NSString *title) {
NSLog(@"title %@",title);
};

you shoule set the side menu's items,and you can set the block to do something

[_sideView trigger],

and then you call the trigger,that's easy!

Gif

About

This is the animation of the side menu popup from the left side of the view. 侧边栏动画

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published