Awesome
GSIndeterminateProgressBar
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, me@endika.net
License
GSIndeterminateProgressBar is available under the MIT license. See the LICENSE file for more info.