This release adds all the events from the system keyboard events:
UIKeyboardWillShowNotification
UIKeyboardDidShowNotification
UIKeyboardWillHideNotification
UIKeyboardDidHideNotification
To use them, update your Podfile to pod 'SwiftNotifications/UIKeyboard'
, and you're away!
These keyboard events are deserializable only, meaning that they cannot be posted by calling NotificationCenter.default.post
. The protocol SerializableNotification
has been split to better reflect the serialization and deserialization aspects. A combined protocol SwiftNotification
is created. Custom notifications that require both serialization and deserialization can adopt to SwiftNotification
as a shorthand.