In Objective-C, a custom notification is just a plain NSString, but it\'s not obvious in the WWDC version of Swift 3 just what it should be.
if you use string-only custom notifications, there's no reason to extend any classes but String
String
extension String { var notificationName : Notification.Name{ return Notification.Name.init(self) } }