Explorar el Código

Updates Readme

Small change in NSNotificationCenter -> NotificationCenter
Kevin Chau hace 8 años
padre
commit
c348eb9135
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      README.md

+ 1 - 1
README.md

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