Manuel Meyer

2个库

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 stringWithFormatbiamo

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

               ``

许可证: MIT

  • Objective C

TaCoPopulator

TaCoPopulator 允许创建将与 UITableView 和 UICollectionView 一起工作的数据源。它被设计为不会干扰您对这些视图的使用。

许可证: MIT

  • Swift