Re: [swift-corelibs-dev] Foundation Renaming Question

2016-07-03 Thread Brent Royal-Gordon via swift-corelibs-dev
> In the past bare strings were acceptable for postNotificationName and > addObserverForName. Yet now constructing a Notification and > Notification.Name seem to be a bit unwieldy. Example: > > let ConnectedNotification= > Notification(name:Notification.Name(rawValue:"ConnectedNotificatio

[swift-corelibs-dev] Foundation Renaming Question

2016-07-03 Thread Joseph Bell via swift-corelibs-dev
Howdy. I've been building (on Linux) the latest off of master for Swift and the accompanying swift-corelibs-foundation. I can see where the great renaming is in full swing and have been updating my code accordingly. One area where I'm a bit confused is with the new API for NotificationCenter and