Ashley Mills пре 10 година
родитељ
комит
4d20beee83
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -6,7 +6,7 @@ Inspired by https://github.com/tonymillion/Reachability
 
 **NOTES:**
 
-- As of Swift 1.1, you cannot convert Swift closures into C-function pointers, meaning we can't set an `SCNetworkReachabilityCallBack`. To get around this, this reachability replacement uses an `NSTimer` firing at 1/2 second intervals.
+- As of Swift 1.2, you cannot convert Swift closures into C-function pointers, meaning we can't set an `SCNetworkReachabilityCallBack`. To get around this, this reachability replacement uses a `dispatch_source` firing at 1/2 second intervals.
 
 - If an application has the privacy option “Use cellular data” turned off, the Reachability class still reports isReachable() to be true. There is currently no (non-private) API to detect this. If you need this feature, please raise file a [bug report](https://bugreport.apple.com) with Apple to get this fixed. See devforums thread for details: https://devforums.apple.com/message/1059332#1059332