CocoaPods trunk is moving to be read-only. Read more on the blog, there are 11 months to go.
| TestsTested | ✗ |
| LangLanguage | Obj-CObjective C |
| License | MIT |
| ReleasedLast Release | Feb 2016 |
Maintained by Borinschi Ivan.
To run the example project, clone the repo, and run pod install from the Example directory first.
iOS 7.1
Usee Cell & CellSource Template to make your implementation easyer.
@implementation ImoReadmeViewController
- (void)viewDidLoad
{
[super viewDidLoad];
NSMutableArray *tableSection = [NSMutableArray new];
for (int i = 0; i < 100; i++) {
ImoReadmeCellSource *source = [ImoReadmeCellSource new];
/*
In this case we have static height for cell, but if you want you can use autolayout
for in your cell and then the height of the cell will be automaticaly caluculated.
*/
source.staticHeightForCell = 45;
/*
Generate a random name
*/
source.title = [LoremIpsum name];
/*
IBOutlet from your tableView wich need to be ImoDynamicTableView class
*/
[tableSection addObject:source];
}
[self.tableView.source addObject:tableSection];
}
@end
Borinschi Ivan, [email protected]
ImoDynamicTableView is available under the MIT license. See the LICENSE file for more info.