https://github.com/meniny/networkactivityindicatormanager
🎛A Network Activity Indicator Manager for iOS.
https://github.com/meniny/networkactivityindicatormanager
Last synced: over 1 year ago
JSON representation
🎛A Network Activity Indicator Manager for iOS.
- Host: GitHub
- URL: https://github.com/meniny/networkactivityindicatormanager
- Owner: Meniny
- License: mit
- Created: 2017-07-05T15:44:39.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-27T04:58:05.000Z (almost 9 years ago)
- Last Synced: 2025-02-21T18:16:40.344Z (over 1 year ago)
- Language: Swift
- Size: 30.3 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
***
# Introduction
## What's this?
`Network Activity Indicator Manager`(aka `NAIManager`) is a Network Activity Indicator Manager for iOS.
## Requirements
* iOS 8.0+
## Installation
#### CocoaPods
```ruby
pod 'NAIManager'
```
## Contribution
You are welcome to fork and submit pull requests.
## License
`NAIManager` is open-sourced software, licensed under the `MIT` license.
## Usage
```swift
let url = "https://meniny.cn/test.json"
let params = ["type": 1]
NAIManager.operationStarted()
NetworkingFramework.request(url, params: params) { result in
NAIManager.operationFinished()
// code ...
}
```