NKJNetworkActivityIndicator 0.1.4

NKJNetworkActivityIndicator 0.1.4

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Jun 2015

Maintained by nakajijapan.



NKJNetworkActivityIndicator. A network activity indicator that manage some activities, show and hide network indicator.

Manage with above keys.

  • name
  • identifier

I want to manage network indicator seperately by the content, but same viewcontroller.

Usage

Start Indicator

[[NKJNetworkActivityIndicator sharedIndicator] startActivityWithName:NSStringFromClass([self class])
identifier:self.identifier];

Stop Indicator

[[NKJNetworkActivityIndicator sharedIndicator] stopActivityWithName:NSStringFromClass([self class])
identifier:self.identifier];

Connecting Check

if ([[NKJNetworkActivityIndicator sharedIndicator] connectingActivityWithName:NSStringFromClass([self class]) identifier:self.identifier]) {
// code
}

Requirements

Xcode 6 is required.

Installation

NKJNetworkActivityIndicator is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "NKJNetworkActivityIndicator"

Author

nakajijapan, [email protected]

License

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