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

Adapted Notification Center change to Readme

Patrick Reuter преди 8 години
родител
ревизия
9d502dc561
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      README.md

+ 1 - 1
README.md

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