Swiftpack.co -  alphatroya/NetworkActivityIndicatorManager as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
alphatroya/NetworkActivityIndicatorManager
Simple UIApplication's NetworkActivityIndicator counter
.package(url: "https://github.com/alphatroya/NetworkActivityIndicatorManager.git", from: "2.0.0")

NetworkActivityIndicatorManager

Build Status Carthage compatible codebeat badge

Usage

Simple UIApplication's NetworkActivityIndicator counter. Use addActivity method before request for increase counter and show application network activity indicator, after finished request decrease counter by method removeActivity. If counter reach 0 network activity indicator will be hidden.

Installation

Swift Package Manager (required Xcode 11)

  1. Select File > Swift Packages > Add Package Dependency. Enter https://github.com/alphatroya/NetworkActivityIndicatorManager in the "Choose Package Repository" dialog.
  2. In the next page, specify the version resolving rule as "Up to Next Major" with "2.0" as its earliest version.
  3. After Xcode checking out the source and resolving the version, you can choose the "NetworkActivityIndicatorManager" library and add it to your app target.

Author

Alexey Korolev, alphatroya@gmail.com

License

NetworkActivityIndicatorManager is available under the MIT license. See the LICENSE file for more info.

GitHub

link
Stars: 0
Last commit: 1 week ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

Add SPM support
45 weeks ago

SPM is the only way now to add this library to your project. I drop Carthage and Cocoapods support.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API