- 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
In Xcode go to File
-> Swift Packages
-> Add Package Dependency
and paste the url for this repo: https://github.com/longhorn499/ActivityNavigationItem
Add ActivityNavigationItem to your Podfile:
pod 'ActivityNavigationItem'
and run pod install
Or you can manually add ActivityNavigationItem.swift
from the Source
folder
var activityNavigationItem = ActivityNavigationItem(navigationItem: controller.navigationItem)
activityNavigationItem.startAnimatingRight()
...
activityNavigationItem.stopAnimatingRight()
Written in Swift 5.0, requires iOS 13.0 and above, Xcode 11.2 and above.
Created by Kevin Johnson 🤠
Available under the MIT license. See the LICENSE file for more info.