MUKeyboard

@available(iOS 11.0, *)
@objc
public protocol MUKeyboard : AnyObject

Keyboard protocol.

  • Register or not the keyboard’s notifications.

    Declaration

    Swift

    func useKeyboard(_ isUsed: Bool)
  • Called immediately prior to the display of the keyboard.

    Declaration

    Swift

    func keyboardWillShow(_ notif: NSNotification)
  • Called immediately prior to the dismissal of the keyboard.

    Declaration

    Swift

    func keyboardWillHide(_ notif: NSNotification)
  • Called immediately after the display of the keyboard.

    Declaration

    Swift

    func keyboardDidShow(_ notif: NSNotification)
  • Called immediately after the dismissal of the keyboard.

    Declaration

    Swift

    func keyboardDidHide(_ notif: NSNotification)