Latest 0.0.3
Homepage https://github.com/Hank-Zhong/HYConditionsSelector
License MIT
Platforms ios 8.0, requires ARC
Authors

CocoaPods

一个简易的条件选择器控件

一. Installation 安装

CocoaPods

pod ‘HYConditionsSelector’

手动安装

将HYConditionsSelector文件夹拽入项目中,导入头文件:#import "HYConditionSelectionView.h"

二. Example 例子

//初始化
self.conditionSelectionView = [[HYConditionSelectionView alloc]
                                initWithFrame:CGRectMake(0, 80, self.view.bounds.size.width, 30)
                                items:@[@"全部",@"附近",@"智能排序",@"筛选"]];
//设置子控件颜色
self.conditionSelectionView.textColor = [UIColor colorWithWhite:0.2 alpha:1];
self.conditionSelectionView.selectTextColor = [UIColor colorWithRed:0.25f green:0.87f blue:0.85f alpha:1];
self.conditionSelectionView.selectIndicatorColor = [UIColor colorWithRed:0.25f green:0.87f blue:0.85f alpha:1];

[self.view addSubview:self.conditionSelectionView];

三. Requirements 要求

iOS8及以上系统可使用. ARC环境.

四. More 更多

如果你发现了bug,请提一个issue。
欢迎给我提pull requests。
更多信息详见代码,也可查看我的博客或者我的简书

关于issue:

请尽可能详细地描述系统版本手机型号库的版本崩溃日志复现步骤请先更新到最新版再测试一下,如果新版还存在再提~如果已有开启的类似issue,请直接在该issue下评论说出你的问题

Latest podspec

{
    "name": "HYConditionsSelector",
    "version": "0.0.3",
    "summary": "u4e00u4e2au7b80u6613u7684u6761u4ef6u9009u62e9u5668u63a7u4ef6uff0cHYConditionsSelector.",
    "description": "u6761u4ef6u9009u62e9u5668u63a7u4ef6uff0cHYConditionsSelectoru3002u80fdu591fu5febu901fu96c6u6210u4e0eu9879u76eeu4e2duff0cu4f53u79efu5c0fu3002u652fu6301u76f4u63a5u5728Xibu91ccu4f7fu7528u3002",
    "homepage": "https://github.com/Hank-Zhong/HYConditionsSelector",
    "license": "MIT",
    "authors": {
        "Hank-Zhong": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/Hank-Zhong/HYConditionsSelector.git",
        "tag": "0.0.3"
    },
    "source_files": "HYConditionsSelector/*",
    "requires_arc": true
}

Pin It on Pinterest

Share This