Rich-text editor in iOS [closed]

拥有回忆 提交于 2019-12-01 08:43:31

There no sample project for rich text that available on iOS Dev website, However if you like a UITextView implementation there few open-source alternatives such as iOS-Rich-Text-Editor and FastTextView.

iOS-Rich-Text-Editor
RichTextEditor for iPhone & iPad that supports loads of extra such as Bold, Italic, Underline, StrikeThrough, Font, Paragraph Indent/Outdent etc. Check the example its uses UITExtview.

FastTextView
EGOTextView is a complete drop in replacement for UITextView, that adds support for Rich Text Editing.

You should read SECoreTextView supported almost above also select, copy, paste https://github.com/kishikawakatsumi/SECoreTextView

Apple used to have a CoreText sample project and when TextKit launched they had a sample project for that too. You can't search from them through the normal document library you need to use the legacy library

You can however checkout the textView part of the UICatelog and that should get you started. It is a textview with attributed text and is fully editable.

Also have a read through the text programming guide.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!