Swiftpack.co - Package - longhorn499/ActivityNavigationItem

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

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.

Github

link
Stars: 6

Dependencies

Used By

Total: 0

Releases

Support SPM - 2020-10-12 03:11:49

🍎📦

Fix access control - 2020-01-13 04:24:40

🔓

Swift 5 + Using class instead of subclassing UINavigationItem - 2020-01-09 03:13:46

🌃

Renamed project - simplified methods - 2018-01-29 20:38:26

Indicator Color Support - 2017-12-11 15:46:17

  • Can change color of indicators programmatically or in IB

Minor Fix - Updated Example - 2017-11-26 00:59:06

  • Fix for back button flicker when animating right item
  • Updated example with back button case

Lower Deployment Target - 2017-11-20 22:06:26

Minimum target lowered from iOS 10.3 to 10.0

iOS 11 - 2017-11-19 16:32:44

  • Bug fix for bar items appearing disabled after triggering animation from tapping them
  • isAnimating function added
  • Tests added

First Release - 2017-11-01 19:25:58

  • First release