InputPlugin

public protocol InputPlugin : AnyObject

InputPlugin is a protocol that makes integrating plugins to the InputBarAccessoryView easy.

  • Should reload the state if the InputPlugin

    Declaration

    Swift

    func reloadData()
  • Should remove any content that the InputPlugin is managing

    Declaration

    Swift

    func invalidate()
  • Should handle the input of data types that an InputPlugin manages

    Declaration

    Swift

    func handleInput(of object: AnyObject) -> Bool

    Parameters

    object

    The object to input