UITextView

public extension UITextView
  • Updates the textColor of the UITextView with the color provided

    Declaration

    Swift

    @discardableResult
    func text(color: UIColor?) -> Self
  • Updates the text of the UITextView with the text value provided

    Declaration

    Swift

    @discardableResult
    func text(_ value: String?) -> Self
  • Updates the tintColor of the UITextView with the color provided

    Declaration

    Swift

    @discardableResult
    func tint(color: UIColor?) -> Self
  • Set the UITextViewDelegate for the UITextView

    Declaration

    Swift

    @discardableResult
    func set(delegate: UITextViewDelegate?) -> Self