Latest 1.0
Homepage https://github.com/JoeFryer/JDFNavigationBarActivityIndicator
License MIT
Platforms ios 7.0, requires ARC
Frameworks UIKit
Authors

Version
License
Platform

JDFNavigationBarActivityIndicator is a UIView subclass that provides an easy, space-effective way to show an activity indicator on a UINavigationBar.

It is visually similar in concept to the progress indicator shown in iOS Safari, in that it appears as a thin, animating line at the bottom of a navigation bar. The difference is that it is an indeterminate progress indicator, making it useful for when you don’t know the completion progress of a task.

Create an instance with the vanilla init initialiser. You do not need to set its frame. Use addToNavigationBar:startAnimating: to add it to your desired UINavigationBar. Methods are provided for starting & stopping the animation. You should call setNeedsLayout after device rotation, if required.

You can supply a custom color and highlightColor.

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

JDFNavigationBarActivityIndicator is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "JDFNavigationBarActivityIndicator"

Author

Joe Fryer, [email protected]

License

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

Latest podspec

{
    "name": "JDFNavigationBarActivityIndicator",
    "version": "1.0",
    "summary": "A UIView subclass that provides an easy, space-effective way to show an activity indicator on a UINavigationBar.",
    "description": "JDFNavigationBarActivityIndicator is a UIView subclass that provides an easy, space-effective way to show an activity indicator on a UINavigationBar.n nIt is visually similar in concept to the progress indicator shown in iOS Safari, in that it appears as a thin, animating line at the bottom of a navigation bar. The difference is that it is an indeterminate progress indicator, making it useful for when you don't know the completion progress of a task.n",
    "homepage": "https://github.com/JoeFryer/JDFNavigationBarActivityIndicator",
    "license": "MIT",
    "authors": {
        "Joe Fryer": "[email protected]"
    },
    "source": {
        "git": "https://github.com/JoeFryer/JDFNavigationBarActivityIndicator.git",
        "tag": "1.0"
    },
    "social_media_url": "https://twitter.com/joefryer88",
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes",
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This