Latest 1.0.0
Homepage https://github.com/Meniny/NetworkActivityIndicatorManager
License MIT
Platforms ios 8.0
Authors


VersionAuthorBuild PassingSwift
PlatformsMIT
CocoapodsCarthageSPM


Introduction

What’s this?

NetworkActivityIndicatorManager(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 ...
}

Latest podspec

{
    "name": "NAIManager",
    "version": "1.0.0",
    "summary": "A Network Activity Indicator Manager for iOS.",
    "authors": {
        "Meniny": "[email protected]"
    },
    "homepage": "https://github.com/Meniny/NetworkActivityIndicatorManager",
    "social_media_url": "https://meniny.cn/",
    "license": "MIT",
    "description": "NAIManager is a Network Activity Indicator Manager for iOS written in Swift.",
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/Meniny/NetworkActivityIndicatorManager.git",
        "tag": "1.0.0"
    },
    "source_files": "NAIManager/Source/*",
    "public_header_files": "NAIManager/Source/*.h",
    "ios": {
        "frameworks": [
            "Foundation",
            "UIKit"
        ]
    },
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This