Browse Source

Added note to README to retain the NetworkReachabilityManager instance.

Christian Noon 10 years ago
parent
commit
7d8484d9e5
1 changed files with 2 additions and 0 deletions
  1. 2 0
      README.md

+ 2 - 0
README.md

@@ -1147,6 +1147,8 @@ manager?.listener = { status in
 manager?.startListening()
 manager?.startListening()
 ```
 ```
 
 
+> Make sure to remember to retain the `manager` in the above example, or no status changes will be reported.
+
 There are some important things to remember when using network reachability to determine what to do next.
 There are some important things to remember when using network reachability to determine what to do next.
 
 
 * **Do NOT** use Reachability to determine if a network request should be sent.
 * **Do NOT** use Reachability to determine if a network request should be sent.