UITextView

class UITextView : UIScrollView, UITextInput, UIContentSizeCategoryAdjusting
  • Resize the placeholder when the UITextView bounds change

    Declaration

    Swift

    override open var bounds: CGRect { get set }
  • The UITextView placeholder text

    Declaration

    Swift

    public var placeholder: String? { get set }
  • When the UITextView did change, show or hide the label based on if the UITextView is empty or not

    Declaration

    Swift

    public func textViewDidChange(_ textView: UITextView)

    Parameters

    textView

    The UITextView that got updated