Need help with THProgressView?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

tiagomnh
197 Stars 31 Forks MIT License 11 Commits 0 Opened issues

Description

UIView subclass that mimics the progress bar of Twitter for iOS.

Services available

!
?

Need anything else?

Contributors list

# 232,900
Swift
licensi...
uiviewc...
C
9 commits
# 236,962
Objecti...
C
2 commits

THProgressView

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.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.