kfc

KFCircleMenu

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

Showing:

Popularity

Downloads/wk

0

GitHub Stars

50

Maintenance

Last Commit

3yrs ago

Contributors

0

Package

Dependencies

0

License

MIT

Categories

Readme

KFCircleMenu

CI Status Version License Platform

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.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100