2 "name": "CBCategoryView",
4 "summary": "A category view for ios",
5 "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```",
6 "homepage": "https://github.com/cocbin/CBCategoryView",
9 "Cocbin": "460469837@qq.com"
15 "git": "https://github.com/cocbin/CBCategoryView.git",
18 "source_files": "CBCategoryView/CBCategoryView/*.{h,m}"