Latest 1.0.2
Homepage https://github.com/ylb3303/YLBTopBtnListView
License MIT
Platforms ios 8.0, requires ARC
Authors

通用按钮选项卡

安装:pod ‘YLBTopBtnListView’

或者:pod ‘YLBTopBtnListView’, :git =>’https://github.com/ylb3303/YLBTopBtnListView.git

用法:
NSMutableArray titleArray = [@[@"选项按钮标题1",
                                   
@"选项按钮标题2",
                                   
@"选项按钮标题3",
                                   
@"选项按钮标题4"

] mutableCopy];

CGFloat fontHeight = 16;

UIColor
colorNormal = [UIColor grayColor];

UIColor colorSelected = [UIColor purpleColor];

TopGiftListBtnView _topGiftListBtnView = [[TopGiftListBtnView alloc] initWithFrame:CGRectMake(0, 0, CGRectGetWidth(self.frame), 44) titleArray:titleArray fontHeight:fontHeight colorNormal:colorNormal colorSelected:colorSelected titleBtn_Block:^(int tag) {
[weakSelf titleBtn_Block_Method:tag];
}];

Latest podspec

{
    "name": "YLBTopBtnListView",
    "version": "1.0.2",
    "license": "MIT",
    "summary": "A in iOS.",
    "homepage": "https://github.com/ylb3303/YLBTopBtnListView",
    "authors": {
        "u4f59u793cu94b5": "[email protected]"
    },
    "source": {
        "git": "https://github.com/ylb3303/YLBTopBtnListView.git",
        "tag": "1.0.2"
    },
    "requires_arc": true,
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "YLBTopBtnListView/*"
}

Pin It on Pinterest

Share This