All Projects → sonsongithub → UZTextView

sonsongithub / UZTextView

Licence: BSD-3-Clause license
Clickable and selectable text view for iOS

Programming Languages

HTML
75241 projects
objective c
16641 projects - #2 most used programming language
swift
15916 projects
CSS
56736 projects
ruby
36898 projects - #4 most used programming language
shell
77523 projects

UZTextView

Clickable and selectable text view for iOS

###What's UZTextView?

  • UZTextView class implements implements the behavior for a scrollable, multiline, selectable, clickable text region. The class supports the display of text using custom style and link information.
  • Create subclass of the class and use UZTextView internal category methods if you want to expand the UZTextView class. For example, you have to override some methods of the class in order to add your custom UIMenuItem objects.
  • You can use the Class on the UITableView cell and set custom style text using NSAttributedString class objects(like the following image).

image

###Supported attributes of NSAttributedString

  • NSLinkAttributeName
  • NSFontAttributeName
  • NSStrikethroughStyleAttributeName
  • NSUnderlineStyleAttributeName
  • NSBackgroundColorAttributeName

###How to build

  • Use build.sh. Automatically lib and header file generated at ./build/.
  • UZTextView supports CocoaPods.

###Document

  • See html/index.html

###License

  • UZTextView is available under BSD-License. See LICENSE file in this repository.
  • UZTextView uses SECoreTextView source code. SECoreTextView is available under the MIT license.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].