فهرست منبع

Merge pull request #205 from patreu22/master

Made Notification Center Tutorial work after Swift changes
Ashley Mills 8 سال پیش
والد
کامیت
5fe7a30064
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)
 ```