THProgressView 1.0

THProgressView 1.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Tiago Henriques.




  • By
  • Tiago Henriques

UIView subclass that mimics Twitter for iOS progress bar.

Screenshot

Installation

Drag the contents of THProgressView/ into your project.

Usage

THCircularProgressView is simply a UIView subclass so just instantiate it and add it a view hieararchy.

CGRect rect = ...
THProgressView *progressView = [[THProgressView alloc] initWithFrame:rect];
progressView.borderTintColor = [UIColor whiteColor];
progressView.progressTintColor = [UIColor whiteColor];
[progressView setProgress:0.5f animated:YES]; // floating-point value between 0.0 and 1.0

The sample project in /Demo contains a couple examples.

License

MIT License (c) Tiago Henriques