Skip to content

joehour/TextViewHighlight

Repository files navigation

TextViewHighlight

An easy way to Highlight text in UITextView.

Features

  • Simple methods with UITextView Category.
  • Support Color code.
  • Support Link URL.

Requirements

  • iOS 7.0+
  • Xcode 8+ Swift 3+

Installation

Manually

Add the TextViewHighlight directory to your project.

Example

####Please check out the Example project included.

#####Basic setting:

   let textView: UITextView = UITextView(frame: CGRect(x: 0, y: 0, width: 300, height: 300))
    
   textView.setMutiContentView("Sample: %mark<Mark;> %mark<Color code; #ff1234> %link<Google[https://google.com.tw]>”)

License

TextViewHighlight is available under the MIT License.

Copyright © 2016 Joe.

About

An easy way to Highlight text in UITextView.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published