![Platform](https://camo.githubusercontent.com/96af89f5fb6c6a79da8f82fa6b7202da57f568ebd14cf118fdc7407023d8948e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506c6174666f726d2d253230694f532532302d626c75652e737667)
- IRDragTimeline is a powerful drag-and-drop expandable tableview for iOS.
- Expandable tableview with nested.
- Able to drag-and-drop.
- Has a demo.
- Git clone this project.
- Copy
Class
amd Utility
folders into your own project.
- See how to use it in
README
or ViewController.m
.
#import "TimelineManager.h"
...
Branch *branch = [[TimelineManager sharedInstance] branchFromClientJourneyData:_clientJourneyData];
branch.tableView = self.timelineTableView;
branch.delegate = self;
[self.timelineTableView reloadDataWithCompletion:^{
[self.delegate didUpdate:nil];
}];
#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 in ViewController.
![Demo](./ScreenShots/demo2.png)