Latest 1.0.0
Homepage https://github.com/williamFalcon/NoNetworkViewController
License MIT
Platforms ios 7.0, requires ARC
Dependencies Reachability
Authors

View controller that takes over screen when there is no internet connection. Critical for networked apps.

Example

CocoaPods

pod 'NoNetworkViewController'

How to Use

  1. Import header file (if not using cocoapods or using swift)

    #import "NoNetworkManager.h"
  2. Start manager from didFinishLaunchingWithOptions in your AppDelegate file

    - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    
    // Enable takeover View Controller
    // Will show whenever the network goes out, and dissappear when network comes back in
    [NoNetworkManager enableLackOfNetworkTakeover];
    
    return YES;
    }

    Designing for your project

  3. Feel free to apply your own design by modifying the NoNetworkViewController.xib file

Dependencies

Latest podspec

{
    "name": "NoNetworkViewController",
    "version": "1.0.0",
    "summary": "View controller that covers app when network connection is lost. It removes itself when connection is regained",
    "homepage": "https://github.com/williamFalcon/NoNetworkViewController",
    "license": "MIT",
    "authors": {
        "williamFalcon": "[email protected]"
    },
    "social_media_url": "https://twitter.com/_willfalcon",
    "source": {
        "git": "https://github.com/williamFalcon/NoNetworkViewController.git",
        "tag": "v1.0.0"
    },
    "source_files": "NoNetworkViewController/**/*.{h,m}",
    "public_header_files": "WFHttp/Public/**/*.{h,m}",
    "requires_arc": true,
    "platforms": {
        "ios": "7.0"
    },
    "dependencies": {
        "Reachability": []
    }
}

Pin It on Pinterest

Share This