[Add] AlibabacloudAgency20221216 1.7.0
[CocoaPods.git] / Specs / 0 / e / 4 / CBCategoryView / 0.0.3 / CBCategoryView.podspec.json
blob5f46ccbcbf16c35becc931315ce93d992b16875f
2   "name": "CBCategoryView",
3   "version": "0.0.3",
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",
7   "license": "MIT",
8   "authors": {
9     "Cocbin": "460469837@qq.com"
10   },
11   "platforms": {
12     "ios": "8.0"
13   },
14   "source": {
15     "git": "https://github.com/cocbin/CBCategoryView.git",
16     "tag": "0.0.3"
17   },
18   "source_files": "CBCategoryView/CBCategoryView/*.{h,m}"