Latest | 0.1.0 |
---|---|
Homepage | https://github.com/endSly/GSIndeterminateProgressBar |
License | MIT |
Platforms | ios 5.0, requires ARC |
Authors |
GSIndeterminateProgressView is a subclass of UIView that looks like
UIProgressView but acts like UIActivityIndicatorView.
Usage
To run the example project; clone the repo, and run pod install
from the Example directory first.
Import GSIndeterminateProgressView.h
UINavigationBar *navigationBar = self.navigationController.navigationBar;
GSIndeterminateProgressView *progressView = [[GSIndeterminateProgressView alloc] initWithFrame:CGRectMake(0, navigationBar.frame.size.height - 2,
navigationBar.frame.size.width, 2)];
progressView.progressTintColor = navigationBar.barTintColor;
progressView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleTopMargin;
[navigationBar addSubview:progressView];
[progressView startAnimating];
Installation
GSIndeterminateProgressBar is available through CocoaPods. To install
it, simply add the following line to your Podfile:
pod "GSIndeterminateProgressBar"
Author
Endika Gutiérrez, [email protected]
License
GSIndeterminateProgressBar is available under the MIT license. See the LICENSE file for more info.
Latest podspec
{ "name": "GSIndeterminateProgressBar", "version": "0.1.0", "summary": "GSIndeterminateProgressView is a subclass of UIView that looks like UIProgressView but acts like UIActivityIndicatorView.", "description": " GSIndeterminateProgressView look similar to UIProgressView using animation to show indeterminate progress.n Class interface seems to UIActivityIndicatorView.n", "homepage": "https://github.com/endSly/GSIndeterminateProgressBar", "screenshots": "https://github.com/endSly/GSIndeterminateProgressBar/raw/master/capture.gif", "license": "MIT", "authors": { "Endika Gutiu00e9rrez": "[email protected]" }, "source": { "git": "https://github.com/endSly/GSIndeterminateProgressBar.git", "tag": "0.1.0" }, "social_media_url": "https://twitter.com/endSly", "platforms": { "ios": "5.0" }, "requires_arc": true, "source_files": "Classes", "public_header_files": "Classes/**/*.h" }
Wed, 02 Mar 2016 02:38:03 +0000