CocoaPods trunk is moving to be read-only. Read more on the blog, there are 17 months to go.

GSIndeterminateProgressBar 0.1.0

GSIndeterminateProgressBar 0.1.0

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

Maintained by Endika Gutiérrez.




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.

Capture

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

Author

Endika Gutiérrez, [email protected]

License

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