🎛A Network Activity Indicator Manager for iOS.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
NAIManager
Sample
.gitignore
LICENSE
NAIManager.podspec
README.md

README.md

Version Author Build Passing Swift
Platforms MIT
Cocoapods Carthage SPM


Introduction

What's this?

Network Activity Indicator Manager(aka NAIManager) is a Network Activity Indicator Manager for iOS.

Requirements

  • iOS 8.0+

Installation

CocoaPods

pod 'NAIManager'

Contribution

You are welcome to fork and submit pull requests.

License

NAIManager is open-sourced software, licensed under the MIT license.

Usage

let url = "https://meniny.cn/test.json"
let params = ["type": 1]

NAIManager.operationStarted()

NetworkingFramework.request(url, params: params) { result in

    NAIManager.operationFinished()
    // code ...
}