SkillAgentSearch skills...

ActivityNavigationItem

Indicate loading on UINavigationItem

Install / Use

/learn @kevin49999/ActivityNavigationItem
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

ActivityNavigationItem

Platform iOS CocoaPods compatible MIT license

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
<img src="https://raw.githubusercontent.com/longhorn499/ActivityNavigationItem/master/Screenshots/Animating.gif"/>

Installation

Swift Package Manager

In Xcode go to File -> Swift Packages -> Add Package Dependency and paste the url for this repo: https://github.com/longhorn499/ActivityNavigationItem

CocoaPods

Add ActivityNavigationItem to your Podfile:

pod 'ActivityNavigationItem'

and run pod install

Manual

Or you can manually add 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.

View on GitHub
GitHub Stars5
CategoryDevelopment
Updated1y ago
Forks1

Languages

Swift

Security Score

70/100

Audited on May 30, 2024

No findings