【文件属性】:
文件名称:UITextViewAdditions:为iOS8,iOS9添加了UITextView附加项
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-01 14:10:27
Objective-C
UITextViewAdditions
为iOS8 / iOS9添加了UITextView附加项。
例子
支持情节提要和自动版式。
#import "UITextView+UITextViewAdditions.h"
// add title
[ self .textView addTitle: @"這是大標題\n " ];
// insert static image
[ self .textView addImage: [UIImage imageNamed: @" Toolbox-180 " ]];
// add line space
[ self .textView addLineSpace ];
// add title with background color
[ self .textView addTitle: @"這是大標題+底色\n " backgroundCol
【文件预览】:
UITextViewAdditions-master
----.gitignore(237B)
----README.md(1KB)
----LICENSE(1KB)
----UITextView+UITextViewAdditions.h(737B)
----UITextView+UITextViewAdditions.m(3KB)