Преглед на файлове

Updates Readme

Small change in NSNotificationCenter -> NotificationCenter
Kevin Chau преди 8 години
родител
ревизия
c348eb9135
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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)
 ```