InputItem
public protocol InputItem : AnyObject
InputItem is a protocol that links elements to the InputBarAccessoryView to make them reactive
-
A weak reference to the InputBarAccessoryView. Set when inserted into an InputStackView
Declaration
Swift
var inputBarAccessoryView: InputBarAccessoryView? { get set }
-
A reference to the InputStackView that the InputItem is contained in. Set when inserted into an InputStackView
Declaration
Swift
var parentStackViewPosition: InputStackView.Position? { get set }
-
A hook that is called when the InputTextView’s text is changed
Declaration
Swift
func textViewDidChangeAction(with textView: InputTextView)
-
A hook that is called when the InputBarAccessoryView’s InputTextView receieves a swipe gesture
Declaration
Swift
func keyboardSwipeGestureAction(with gesture: UISwipeGestureRecognizer)
-
A hook that is called when the InputTextView is resigned as the first responder
Declaration
Swift
func keyboardEditingEndsAction()
-
A hook that is called when the InputTextView is made the first responder
Declaration
Swift
func keyboardEditingBeginsAction()