Skip to content

KinoAndWorld/KOMenuView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KOMenuView


This is a simple Menu View On One's View Bottom.

Screenshot

Features

  • spring bounds effect
  • simple use
  • adjustable menu item height

Installation

Grab the files in KOMenuView/ and put it in your project.

Usage

first, import KOMenuView.h

_blurMenuView = [KOMenuView menuViewWithItem:@[@"Menu 01",@"Menu 02",@"Menu 03",@"Menu 04",@"Menu 05"]
                               withPlaceView:self.view
                            withClickByIndex:^(NSInteger itemIndex) {
                                NSLog(@"itemIndex : %ld",(long)itemIndex);
                            }];

or you can custom menu item height

_blurMenuView = [KOMenuView menuViewWithItem:@[@"Menu 01",@"Menu 02",@"Menu 03",@"Menu 04",@"Menu 05"]
                                  itemHeight:60.f
                               withPlaceView:self.view
                            withClickByIndex:^(NSInteger itemIndex) {
                                NSLog(@"itemIndex : %ld",(long)itemIndex);
                            }];

you can set other funtion if you want

_blurMenuView.foldMenuWhenClickItem = YES;   ///fold menu automatically when select item, default NO
_blurMenuView.animaDuration = 0.3;          ///animation duration, default 0.25

License

KOMenuView is released under the MIT license.

Author

Kino

Email: [email protected]/ [email protected]

Weibo: http://weibo.com/u/1878504510

contact me if had any quetion .

About

Simple foldable bottom menu

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published