Latest 0.0.8
Homepage https://github.com/m8282823/MTRealReachability
License MIT
Platforms ios 8.0, requires ARC
Frameworks SystemConfiguration, QuartzCore, CoreGraphics, SystemConfiguration
Authors

结合simplePing和reachability来检测网络状况

使用方法:

    1.block 
    [[MTRealReachability shareManager] startNetworkNotify:^(MTNetworkStatus networkStatus) {
        \add your code
    }];

    2.notification 
    [[MTRealReachability shareManager] startNetworkNotify:nil];
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(logNetworkStatus:)             name:MTRealReachabilityChangedNotification object:nil];

使用 cocoapods

  • pod ‘MTRealReachability’  
  • platform :ios, ‘8.0’

Manual

手动拖拽MTRealReachability文件夹下的6个文件

目前的版本:0.0.4

请使用最新版本

历史版本: 0.0.3

参考

@dustturtle的RealReachability

LiCENSE

使用MIT许可协议,详情请见LICENSE文件

Latest podspec

{
    "name": "MTRealReachability",
    "version": "0.0.8",
    "summary": "it is a little tools to monitor network",
    "homepage": "https://github.com/m8282823/MTRealReachability",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "martin": "[email protected]"
    },
    "social_media_url": "https://github.com/m8282823/MTRealReachability",
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/m8282823/MTRealReachability.git",
        "tag": "0.0.8"
    },
    "source_files": "MTRealReachabilityDEMO/MTRealReachability/**/*.{h,m}",
    "public_header_files": "MTRealReachabilityDEMO/MTRealReachability/**/*.h",
    "frameworks": [
        "SystemConfiguration",
        "QuartzCore",
        "CoreGraphics",
        "SystemConfiguration"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This