CocoaPods trunk is moving to be read-only. Read more on the blog, there are 8 months to go.

Manuel Meyer

2pods

OFAPopulator

               By implementing section datasources and data fetcher protocol
               it becomes easy to populate table views and collection views.

               ```objc
               OFASectionPopulator *sectionPopulator = [[OFAReorderSectionPopulator alloc] initWithParentView:self.tableView
                                                                               dataProvider:[[ExampleDataProvider alloc] init]
                                                                             cellIdentifier:^NSString * (id obj, NSIndexPath *indexPath){ return @"Section2"; }
                                                                           cellConfigurator:^(NSNumber *obj, UITableViewCell *cell, NSIndexPath *indexPath)

{ cell.textLabel.text = [NSString stringWithFormat:@"%@", @([obj doubleValue] * [obj doubleValue])]; cell.textLabel.backgroundColor = [UIColor clearColor]; } reorderCallBack:^(id sourceObj, id destinationObj, NSIndexPath *sourceIndexpath, NSIndexPath *destinationIndexPath) { ; }]; sectionPopulator.sectionIndexTitle = ^(NSUInteger section){ return @"s"; };

self.populator = [[OFAViewPopulator alloc] initWithSectionPopulators:@[sectionPopulator]];

               ``

License: MIT

  • Objective C

TaCoPopulator

TaCoPopulator allows to cretate datasources that will work with UITableViews and UICollectionViews. It is designed to not interfere with the way you use those view.

License: MIT

  • Swift