Latest 1.0.4
License MIT
Platforms ios 10.0, requires ARC

UINavigationItem subclass that indicates activity with UIActivityIndicator for right and left bar button items.

Platform iOS
CocoaPods compatible
MIT license


UINavigationItem subclass you can use to animate a UIActivityIndicatorView in the left/right positions – then when finished animating revert to your preset bar button items.

  • Helpful for indicating activity with Save/Done bar button items
  • Common in iOS UI/UX design for edit profile screens, save avatar screens, etc.


With CocoaPods, add ActivityIndicatingNavigationItem to your Podfile:

pod 'ActivityIndicatingNavigationItem'

Then install with pod install.

Or you can manually import the files from the Source folder.


If you’re using a Storyboard, set the name of the Class and Module, then create an outlet:

@IBOutlet weak var activityIndicatingNavigationItem: ActivityIndicatingNavigationItem!

Or set up programmatically:

let activityIndicatingNavigationItem = ActivityIndicatingNavigationItem.init(title: "Edit Profile", indicatorStyle: .white)

Start animating side:


Stop animating:



Changing the activity indicator style (default style is gray):

activityIndicatingNavigationItem.indicatorStyle = .white

Changing the activity indicator color (can also update in Storyboard):

activityIndicatingNavigationItem.indicatorColor = .blue


Written in Swift 4.0, requires iOS 10.0 and above, Xcode 9.0 and above.


Created by Kevin Johnson.


Available under the MIT license. See the LICENSE file for more info.

Latest podspec

    "name": "ActivityIndicatingNavigationItem",
    "version": "1.0.4",
    "summary": "UINavigationItem subclass that indicates activity with UIActivityIndicator for right/left bar items",
    "description": "Use to easily animate the right or left bar button item with this UINavigationItem subclass. Now a common UI practice in iOS for indicating activity while saving data in edit profile screens, etc.",
    "homepage": "",
    "license": "MIT",
    "authors": {
        "longhorn499": "[email protected]"
    "social_media_url": "",
    "platforms": {
        "ios": "10.0"
    "source": {
        "git": "",
        "tag": "1.0.4"
    "source_files": "Source/*.swift",
    "requires_arc": true,
    "pushed_with_swift_version": "4.0"

Pin It on Pinterest

Share This