Pārlūkot izejas kodu

Merge pull request #205 from patreu22/master

Made Notification Center Tutorial work after Swift changes
Ashley Mills 8 gadi atpakaļ
vecāks
revīzija
5fe7a30064
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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)
 ```