Forráskód Böngészése

Adapted Notification Center change to Readme

Patrick Reuter 8 éve
szülő
commit
9d502dc561
1 módosított fájl, 1 hozzáadás és 1 törlés
  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)
 ```