Skip to content

Repository files navigation

KFCircleMenu

CI StatusVersionLicensePlatform

status

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Usage

 self.circleMenu2.centerButtonSize = CGSizeMake(44, 44);
[self.circleMenu2 loadButtonWithIcons:@[
[UIImage imageNamed:@"icon_can"],
[UIImage imageNamed:@"icon_pos"],
[UIImage imageNamed:@"icon_img"],
[UIImage imageNamed:@"icon_can"],
[UIImage imageNamed:@"icon_pos"],
[UIImage imageNamed:@"icon_img"],
[UIImage imageNamed:@"icon_pos"]
]
innerCircleRadius:30];
[self.circleMenu2 setButtonClickBlock:^(NSInteger idx) {
NSLog(@"button %@ clicked !",@(idx));
}];
[self.circleMenu2 setCenterIcon:[UIImage imageNamed:@"icon_pos"]];
[self.circleMenu2 setCenterIconType:KFIconTypeCustomImage];
self.circleMenu2.tintColor = [UIColor whiteColor];
self.circleMenu2.mainColor = [UIColor colorWithRed:0.13 green:0.58 blue:0.95 alpha:1];

Requirements

  • Xcode 8
  • iOS 8.0

Installation

KFCircleMenu is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod'KFCircleMenu'

Author

License

KFCircleMenu is available under the MIT license. See the LICENSE file for more info.

About

一个弹出圆形菜单, 菜单可围绕滑动

Resources

Stars

57 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages