[Add] com-qqsdk-control-Tools 1.2.1
[CocoaPods.git] / Specs / d / a / e / OFAPopulator / 0.0.3 / OFAPopulator.podspec.json
blob29306e6c1a9c3b9e898e9b4a08c553adba2312ce
2   "name": "OFAPopulator",
3   "version": "0.0.3",
4   "summary": "OFA Populator offers an easy to implement yet powerful way to populate table and collection views.",
5   "description": "                   By implementing section datasources and data fetcher protocol\n                   it becomes easy to populate table views and collection views.\n\n                   ```objc\n                   OFASectionPopulator *sectionPopulator = [[OFASectionPopulator alloc] initWithParentView:self.tableView\n                                                                            dataFetcher:[[ExampleDataFetcher alloc] init]\n                                                                         cellIdentifier:^NSString * (id obj, NSIndexPath *indexPath){ return @\"Section2\"; }\n                                                                       cellConfigurator:^(NSNumber *obj, UITableViewCell *cell, NSIndexPath *indexPath)\n{\n    cell.textLabel.text = [NSString stringWithFormat:@\"%@\", @([obj doubleValue] * [obj doubleValue])];\n    cell.textLabel.backgroundColor = [UIColor clearColor];\n}];\n\nsectionPopulator.sectionIndexTitle = ^(NSUInteger section){\n    return @\"s\";\n};\n\n\nself.populator = [[OFAViewPopulator alloc] initWithParentView:self.tableView\n                                            sectionPopulators:@[sectionPopulator]];\n\n                   ``\n",
6   "homepage": "http://vikingosegundo.github.io/ofapopulator",
7   "license": {
8     "type": "MIT",
9     "file": "LICENSE"
10   },
11   "authors": {
12     "Manuel Meyer": "manuel.meyer@goeuro.com"
13   },
14   "social_media_url": "http://twitter.com/vikingosegundo",
15   "platforms": {
16     "ios": "7.0"
17   },
18   "source": {
19     "git": "https://github.com/vikingosegundo/ofapopulator.git",
20     "tag": "0.0.3"
21   },
22   "source_files": "OFAPopulator/OFA/**/*.*",
23   "public_header_files": "OFAPopulator/OFA/Header/**/*.h"