TypingIndicator

open class TypingIndicator : UIView, InputItem

A view designed to be placed in an InputStackView as a Slack style typing indicator

  • A delegate to broadcast notifications from the TypingIndicator

    Declaration

    Swift

    open weak var delegate: TypingIndicatorDelegate?
  • Undocumented

    Declaration

    Swift

    open override var intrinsicContentSize: CGSize { get }
  • An array of names/ids that will be parsed and displayed as the typing users

    Declaration

    Swift

    public private(set) var usersTyping: [String]
  • Undocumented

    Declaration

    Swift

    open let label: UILabel
  • A boarder line anchored to the bottom of the view

    Declaration

    Swift

    open let separatorLine: SeparatorLine
  • Undocumented

    Declaration

    Swift

    open var labelEdgeInsets: UIEdgeInsets { get }
  • Undocumented

    Declaration

    Swift

    public override init(frame: CGRect)
  • Undocumented

    Declaration

    Swift

    public required init?(coder aDecoder: NSCoder)
  • Sets a new list of users who are typing and updates the label/UI

    Declaration

    Swift

    open func setUsersTyping(to users: [String])

    Parameters

    users

    The new group of names/ids to display as typing