TextProperties

public protocol TextProperties: class

Protocol defining common properties between UITextField and UILabel for setting text related attributes.

  • The text of this object.

    Declaration

    Swift

    var text:String? { get set }
  • An NSAttributedString representing the text of this object.

    Declaration

    Swift

    var attributedText:NSAttributedString? { get set }