UITextView

public extension UITextView
  • SwifterSwift: Clear text.

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    func wrapToContent()