【文件属性】:
文件名称:Reachability—Master
文件大小:93KB
文件格式:ZIP
更新时间:2018-12-23 02:56:39
Reachability
支持同步和异步的网络监听
self.blockLabel.text = @"Not Fired Yet";
self.notificationLabel.text = @"Not Fired Yet";
self.localWifiblockLabel.text = @"Not Fired Yet";
self.localWifinotificationLabel.text = @"Not Fired Yet";
self.internetConnectionblockLabel.text = @"Not Fired Yet";
self.internetConnectionnotificationLabel.text = @"Not Fired Yet";
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(reachabilityChanged:)
name:kReachabilityChangedNotification
object:nil];
__weak __block typeof(self) weakself = self;
【文件预览】:
Reachability-master
----Reachability.h(4KB)
----Framework()
--------.DS_Store(6KB)
--------Info.plist(827B)
--------Framework.xcodeproj()
----Reachability.podspec(2KB)
----LICENCE.txt(1KB)
----iOSReachabilityTestARC()
--------iOSReachabilityTestARC.xcodeproj()
--------.DS_Store(6KB)
--------iOSReachabilityTestARC()
----MacOSReachabilityTestARC()
--------MacOSReachabilityTestARC.xcodeproj()
--------MacOSReachabilityTestARC()
----README.md(5KB)
----.gitignore(287B)
----Reachability.m(13KB)