Skip to content

carabina/WCSTimeline

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WCSTimeline

Simple timeline with data model.

Example

Use this example to create 10 sequential events with random dates. Add each model to your timeLineData array and then reload the tableView!

for ( NSInteger i = 0; i < 10; i++ )
{
    WCSTimelineModel * model = [WCSTimelineModel new];
    model.icon = [UIImage imageNamed:@"event"];
    model.time = [self randomDate];
    model.event = [NSString stringWithFormat:@"Event %li", (long)i];
    model.state = arc4random_uniform(3);
    model.content = [self randomString:i];
    [self.timelineData addObject:model];
}

@WrightsCS

Twitter: @WrightsCS http://www.wrightscsapps.com

Apps using WCSTimeline

If you are using this in your app, please let me know and I will add your app here!

About

Simple timeline with data model.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 100.0%