Options

public struct Options

Mechanica

Struct containing all data that a keyboard has at the event of happening.

  • Identifies whether the keyboard belongs to the current app.

    Declaration

    Swift

    public let belongsToCurrentApp: Bool
  • Identifies the start frame of the keyboard in screen coordinates.

    Declaration

    Swift

    public let startFrame: CGRect
  • Identifies the end frame of the keyboard in screen coordinates.

    Declaration

    Swift

    public let endFrame: CGRect
  • Defines how the keyboard will be animated onto or off the screen.

    Declaration

    Swift

    public let animationCurve: UIViewAnimationCurve
  • Identifies the duration of the keyboard animation in seconds.

    Declaration

    Swift

    public let animationDuration: Double