DropIn TimeLine with progress animatiom
Objective-C C Ruby
Switch branches/tags
Nothing to show
Clone or download
Roma Herman Roma Herman
Roma Herman and Roma Herman cocoapod added
Latest commit 50b7013 Nov 28, 2014
Permalink
Failed to load latest commit information.
ExampleProject cocoapod added Nov 28, 2014
TimeLineControl cocoapod added Nov 28, 2014
.DS_Store readme changed, project structured Oct 2, 2014
README.md cocoapod added Nov 28, 2014
output_ppeLRI.gif cocoapod added Nov 28, 2014
timeLineiOS.podspec cocoapod added Nov 28, 2014

README.md

TimeLine control is a simple drop in solution to show progress of some event e.g. track order

To use it in your application follow this steps:

  • drag TimeLineControl folder to project
  • import "TimeLineViewControl.h"
  • and initialize view
NSArray *times = @[@"sun",@"mon",@"tue",@"wed",@"thr",@"fri",@"sat"];
NSArray *descriptions = @[@"state 1",@"state 2",@"state 3",@"state 4",@"very very long description if state 5",@"state 6",@"state 7"];
TimeLineViewControl *timeline = [[TimeLineViewControl alloc] initWithTimeArray:times
                                                       andTimeDescriptionArray:descriptions
                                                              andCurrentStatus:4];
timeline.center = self.view.center;
[self.view addSubview:timeline];

To deal with autoLayOut I've used Masonry library. It lays inside Timeline control folder. You don't need to do some additional steps to deal with it, just something to be aware of =)

That is it!

You can check ExampleProject to see how timeline works