Latest 0.1.1
Homepage https://github.com/layered-pieces/LAPWebServiceReachabilityManager
License MIT
Platforms ios 9.0, tvos 9.0, watchos 2.0, requires ARC
Authors

LAPWebServiceReachabilityManager pings a web service with a given time interval to check it’s reachability.

Installation

LAPWebServiceReachabilityManager is available via CocoaPods

pod "LAPWebServiceReachabilityManager"

Usage

NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL:[NSURL URLWithString:@"https://google.de"]];

LAPWebServiceReachabilityManager *reachabilityManager = [[LAPWebServiceReachabilityManager alloc] initWithURLRequest:request timeInterval:5.0];
[reachabilityManager addStatusObserver:^(LAPWebServiceReachabilityManager *manager, LAPWebServiceReachabilityStatus status) {
    NSLog(@"Reachabiliy changed");
}];

Latest podspec

{
    "name": "LAPWebServiceReachabilityManager",
    "version": "0.1.1",
    "summary": "A reachability observer for a web service.",
    "homepage": "https://github.com/layered-pieces/LAPWebServiceReachabilityManager",
    "license": "MIT",
    "authors": {
        "Oliver Letterer": "[email protected]"
    },
    "social_media_url": "https://twitter.com/OliverLetterer",
    "source": {
        "git": "https://github.com/layered-pieces/LAPWebServiceReachabilityManager.git",
        "tag": "0.1.1"
    },
    "requires_arc": true,
    "platforms": {
        "ios": "9.0",
        "tvos": "9.0",
        "watchos": "2.0"
    },
    "source_files": "LAPWebServiceReachabilityManager"
}

Pin It on Pinterest

Share This