- IRExpandableTableView is a powerful expandable tableview for iOS.
- Expandable tableview with nested.
- Easy to customize. Easy to management.
- Nice stucture.
- Has a demo project.
- Git clone this project.
- Copy
Class
amdUtility
folders into your own project. - See how to use it in
README
orViewController.m
.
- Not support yet.
- Set Branch
#import "TimelineManager.h"
...
Branch *branch = [[TimelineManager sharedInstance] branchFromClientJourneyData:_clientJourneyData];
branch.tableView = self.timelineTableView;
branch.delegate = self;
[self.timelineTableView reloadDataWithCompletion:^{
[self.delegate didUpdate:nil];
}];
- Set Delegate
#import "TimelineManager.h"
...
@interface MonitorClientsDetailTimelineTableViewCell ()<BranchDelegate>
...
- (void)willUpdate:(NSNumber *)pos {
[self.delegate willUpdate:pos];
}
- (void)didUpdate:(NSNumber *)pos {
[self layoutIfNeeded];
[self.delegate didUpdate:pos];
}
- Please see the demo project.