瀏覽代碼

Update README.md

Prefix reachabilityChanged(note:) by @objc to make it an available #selector
Dani Arnaout 8 年之前
父節點
當前提交
3e5bf29632
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -168,7 +168,7 @@ let reachability = Reachability()!
 and
 
 ```swift
-func reachabilityChanged(note: Notification) {
+@objc func reachabilityChanged(note: Notification) {
 
   let reachability = note.object as! Reachability