瀏覽代碼

Merge pull request #23 from adityatrivedi/patch-1

Ashley Mills 10 年之前
父節點
當前提交
b2de223e9d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -43,7 +43,7 @@ and
 
     func reachabilityChanged(note: NSNotification) {
 
-        let reachability = note.object as Reachability
+        let reachability = note.object as! Reachability
 
         if reachability.isReachable() {
             if reachability.isReachableViaWiFi() {