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 managingDeclaration
Swift
func invalidate()
-
Should handle the input of data types that an
InputPlugin
managesDeclaration
Swift
func handleInput(of object: AnyObject) -> Bool
Parameters
object
The object to input