Latest 0.1.2
Homepage https://github.com/umairhassanbaig/UHBConnectivityManager
License MIT
Platforms ios 7.0
Authors

Version
License
Platform

UHBConnectivity manager is an block oriented objective-c wrapper on Reachability. You can observe network changes by blocks.

Example

You can register any object with a Unique Identifier

[[UHBConnectivityManager shared] registerCallBack:^(ConnectivityManagerConnectionStatus status) {
      if (status == ConnectivityManagerConnectionStatusConnected) {
          // Device connected to internet: You may update your data here
      }
      else
      {
          // Show alert 
      }
} forIdentifier:self.memoryAddress];

You may unregister the callback in Dealloc method or anywhere you want.

[[UHBConnectivityManager shared] removeCallBackForIdentitfier:self.memoryAddress];

Requirements

iOS Version 7.0 or greater

Installation

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

pod "UHBConnectivityManager"

Author

Umair Hassan Baig, [email protected]

License

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

Latest podspec

{
    "name": "UHBConnectivityManager",
    "version": "0.1.2",
    "summary": "UHBConnectivity manager is an block oriented objective-c wrapper on Reachability. You can observe Internet Connectivity changes by blocks",
    "description": "'UHBConnectivity manager is an block oriented objective-c wrapper on Reachability. You can observe Internet Connectivity changes by blocks. You can register any object by giving a unique identifier'",
    "homepage": "https://github.com/umairhassanbaig/UHBConnectivityManager",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Umair Hassan Baig": "[email protected]"
    },
    "source": {
        "git": "https://github.com/umairhassanbaig/UHBConnectivityManager.git",
        "tag": "0.1.2"
    },
    "social_media_url": "https://twitter.com/carbonsoftstech",
    "platforms": {
        "ios": "7.0"
    },
    "source_files": "UHBConnectivityManager/Classes/**/*"
}

Pin It on Pinterest

Share This