SwiftNotifications

The NotificationCenter is a very useful tool. But using the API in Foundation is verbose and driven entirely by strings and values typed Any. Using these values every time a notification is needed is just awkward.

Using generics in Swift, we can make this much nicer, so we can focus on using the contents of a strongly typed notification.

Quick Start

Install via CocoaPods

pod 'SwiftNotifications'

UIKeyboard notifications

UIKeyboard notifications are incorporated under the subspec SwiftNotifications/UIKeyboard. The 4 types of notifications are: