Latest 0.0.1
Homepage https://github.com/CoderHL/HLSegmentBar
License MIT
Platforms ios
Authors

HLSegmentBar

一款简单好用的选项卡,一句代码实现选项卡功能

集成方式

1.直接下载,拖入HLSegmentBar文件直接使用

2.使用cocoapods集成:
在podfile文件中写入 pod ‘HLLSegmentBar’, ‘~> 0.0.1’ 然后运行pod install 即可.

使用方式

1.导入头文件#import "HLSegmentBarVC.h"
2.调用方法- (void)setUpWithItems: (NSArray <NSString >)items childVCs: (NSArray <UIViewController >)childVCs即可

具体参考demo

gif示例

image

Latest podspec

{
    "name": "HLLSegmentBar",
    "version": "0.0.1",
    "summary": "u9009u9879u5361",
    "description": "u4e00u6b3eu7b80u5355u597du7528u7684u9009u9879u5361",
    "homepage": "https://github.com/CoderHL/HLSegmentBar",
    "license": "MIT",
    "authors": {
        "liuhong": "[email protected]"
    },
    "platforms": {
        "ios": null
    },
    "source": {
        "git": "https://github.com/CoderHL/HLSegmentBar.git",
        "tag": "0.0.1"
    },
    "source_files": [
        "HLSegmentBar",
        "HLSegmentBar/**/*.{h,m}"
    ]
}

Pin It on Pinterest

Share This