UITextView

class UITextView : UIScrollView, UITextInput, UIContentSizeCategoryAdjusting
  • SwifterSwift: Clear text.

    Declaration

    Swift

    public func clear()
  • SwifterSwift: Scroll to the bottom of text view

    Declaration

    Swift

    public func scrollToBottom()
  • SwifterSwift: Scroll to the top of text view

    Declaration

    Swift

    public func scrollToTop()
  • SwifterSwift: Wrap to the content (Text / Attributed Text).

    Declaration

    Swift

    public func wrapToContent()