https://github.com/sonsongithub/uztextview
Clickable and selectable text view for iOS
https://github.com/sonsongithub/uztextview
Last synced: about 2 months ago
JSON representation
Clickable and selectable text view for iOS
- Host: GitHub
- URL: https://github.com/sonsongithub/uztextview
- Owner: sonsongithub
- License: bsd-3-clause
- Created: 2013-10-13T20:59:50.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-06-27T01:42:48.000Z (almost 8 years ago)
- Last Synced: 2025-03-03T23:16:35.606Z (3 months ago)
- Language: HTML
- Size: 2.45 MB
- Stars: 40
- Watchers: 11
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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).
###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](http://cocoapods.org/).###Document
- See html/index.html###License
- UZTextView is available under BSD-License. See LICENSE file in this repository.
- UZTextView uses [SECoreTextView](https://github.com/kishikawakatsumi/SECoreTextView) source code. [SECoreTextView](https://github.com/kishikawakatsumi/SECoreTextView) is available under the MIT license.