Browse Source

Updates Readme

Small change in NSNotificationCenter -> NotificationCenter
Kevin Chau 8 years ago
parent
commit
c348eb9135
1 changed files with 1 additions and 1 deletions
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -210,7 +210,7 @@ and for stopping notifications
 
 
 ```swift
 ```swift
 reachability.stopNotifier()
 reachability.stopNotifier()
-NSNotificationCenter.default.removeObserver(self,
+NotificationCenter.default.removeObserver(self,
                                                     name: ReachabilityChangedNotification,
                                                     name: ReachabilityChangedNotification,
                                                     object: reachability)
                                                     object: reachability)
 ```
 ```