ActivityNavigationItem
Description
- Useful for indicating activity with system "Save" or "Done"
UIBarButtonItem
- Common in iOS UI/UX design when tapping a bar button saves or loads data
Installation
With CocoaPods add ActivityNavigationItem to your Podfile:
pod 'ActivityNavigationItem'
Or you can manually import ActivityNavigationItem.swift
from the Source
folder
Usage
var activityNavigationItem = ActivityNavigationItem(navigationItem: controller.navigationItem)
activityNavigationItem.startAnimatingRight()
...
activityNavigationItem.stopAnimatingRight()
Requirements
Written in Swift 5.0, requires iOS 13.0 and above, Xcode 11.2 and above.
Credits
Created by Kevin Johnson
License
Available under the MIT license. See the LICENSE file for more info.