NotificationCenter issue on Swift 3 [duplicate]
Swift 3 & 4 Swift 3, and now Swift 4, have replaced many “stringly-typed” APIs with struct “wrapper types”, as is the case with NotificationCenter. Notifications are now identified by a struct Notfication.Name rather than by String. For more details see the now legacy Migrating to Swift 3 guide Swift 2.2 usage: // Define identifier … Read more