{"repo":"rztime/RZColorfulSwift","free":true,"listed":false,"github":"https://github.com/rztime/RZColorfulSwift","clone":"git clone https://github.com/rztime/RZColorfulSwift.git","description":"iOS NSAttributedString 富文本 文本可点击，添加view、gif，超行折叠展开等等","language":"Swift","stars":90,"topics":["swift","attributedstring","nsattributedstring","markdown","uilabel","uitextfield","uitextview","ios"],"license":"MIT","category":"mobile-apps","readme_excerpt":"RZColorfulSwift iOS NSAttributedString 富文本方法 (图文混排、多样式文本); 文本超行，可自动添加\"折叠\"、\"全部\"; markdown 转 html; UILabel、UITextView的富文本支持添加自定义view、显示gif、给文本添加背景图、文本支持点击等功能 2.0.0版本后，富文本添加的点击功能更友好，富文本的布局计算更高效 Installation RZColorfulSwift is available through CocoaPods. To install it, simply add the following line to your Podfile: Author rztime, rztime@vip.qq.com QQ群：580839749 Objc版本看这里RZColorful License RZColorfulSwift is available under the MIT license. See the LICENSE file for more info. 更新日志 更新日志 UITextView实现的富文本编辑器RZRichTextView NSAttributedString 的多样化设置(文字字体、颜色、阴影、段落样式、url、下划线，以及图文混排、显示gif，backgroundView，文本点击等等) 添加UITextField、UITextView、UILabel的attributedText的富文本设置。 关于RZColorfulSwift 对NSAttributeString的初始化做支持 支持 markdown 文档转换为html 支持 HTML 与 NSAttributedString互换 支持UILabel、UITextView、UITextField的attributedText的设置。 包含的属性设置： 段落样式 阴影 文本字体、颜色 文本所在区域对应的背景颜色 连体字 字间距 删除线、下划线，及其线条颜色 描边，及其颜色 斜体字 上标 下标 拉伸 链接 通过html源码加载富文本 通过url添加图片到富文本 添加自定义view，可用于显示gif、自定义标签等等 添加backgroundView，在文本背后的位置显示view 文本、图片、自定义view的点击事件 等等 How to use 主要的功能： AttributeCore ColorfulConferrerRZ.swift 富文本中对文字、图片、段落、阴影、网页源码等归纳集合 AttributeKeyRZ.siwft 富文本内可以设置的所有的方法（NSAttributedString.key） TextAttributeRZ.swift 文字 继承于AttributeKeyRZ ImageAttributeRZ.swift 图片 继承于AttributeKeyRZ ParagraphStyleRZ.swift 对段落样式的一个属性方法集合 ShadowStyleRZ.swift 对阴影样式的一个属性方法集合 Core 对UILabel、UITextView、UITextField添加的富文本快捷写入提供入口 NSAttributedString 富文本的方法 UILabel UITextView UITextField 可以覆盖原文本、追加、以及指定位置插入等功能 基本方法（UILabel和UITextView用法一样） 进阶用法（UILabel和UITextView用法一样） ","default_branch":null,"files":null,"tree":[],"storefront":"/r/rztime","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rztime/RZColorfulSwift/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}