Latest 1.0
Homepage https://github.com/tiagomnh/THProgressView
License MIT
Platforms ios 6.0, requires ARC
Authors

UIView subclass that mimics the progress bar of Twitter for iOS

Screenshot

Installation

The preferred way is through CocoaPods. Just add the following line to your Podfile:

pod 'THProgressView', '~> 1.0'

You can also do it manually by dragging the contents of THProgressView/ into your project.

Usage

THProgressView 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

THProgressView is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "THProgressView",
    "version": "1.0",
    "summary": "UIView subclass that mimics the progress bar of Twitter for iOS.",
    "homepage": "https://github.com/tiagomnh/THProgressView",
    "screenshots": "https://raw.github.com/tiagomnh/THProgressView/master/Screenshot.png",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Tiago Henriques": "[email protected]"
    },
    "source": {
        "git": "https://github.com/tiagomnh/THProgressView.git",
        "tag": "1.0"
    },
    "platforms": {
        "ios": "6.0"
    },
    "source_files": "THProgressView/*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This