| { |
| "name": "CBCategoryView", |
| "version": "0.0.3", |
| "summary": "A category view for ios", |
| "description": "实例化 CBCategoryView\n\n```\nCBCategoryView * categoryView = [[CBCategoryView alloc] initWithPosition:CGPointMake(0,64) andHeight:40];\n[self.view addSubview:categoryView];\n```\n\n添加数据\n\n```\n[categoryView dataSource:self.category];\n//self.category is a string array\n```\n\n使用block设置当切换tab时使用的ViewController\n\n```\n[categoryView controller:self\n getChildViewController:^(CBCategoryView * cbCategoryView, NSInteger index) {\n ChildViewController * childViewController = [[ChildViewController alloc] init];\n childViewController.param = self.category[(NSUInteger) index];\n return childViewController;\n }];\n```", |
| "homepage": "https://github.com/cocbin/CBCategoryView", |
| "license": "MIT", |
| "authors": { |
| "Cocbin": "460469837@qq.com" |
| }, |
| "platforms": { |
| "ios": "8.0" |
| }, |
| "source": { |
| "git": "https://github.com/cocbin/CBCategoryView.git", |
| "tag": "0.0.3" |
| }, |
| "source_files": "CBCategoryView/CBCategoryView/*.{h,m}" |
| } |