Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit dc0f18f

Browse files
author
mengyaoyao
committed
update
1 parent d7a6846 commit dc0f18f

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

‎README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,6 @@
6060
6161
6262
//匹配 @ 链接
63-
64-
_coretextLabel = [[MYCoreTextLabel alloc]init];
65-
_coretextLabel.delegate = self;
66-
6763
_coretextLabel.showTrendLink = YES;
6864
//如果不设置任何相关信息 , 默认和普通文本大小一致 , 颜色默认蓝色
6965
@@ -105,7 +101,6 @@
105101
_coretextLabel.lineSpacing = 2; //设置行间距
106102
_coretextLabel.wordSpacing = 1.5; //设置字间距
107103
108-
109104
//设置关键字属性
110105
_coretextLabel.keywordFont = [UIFont systemFontOfSize:20];
111106
_coretextLabel.keyWordColor = [UIColor redColor]; //设置关键字颜色
@@ -139,29 +134,24 @@
139134
_coretextLabel.lineSpacing = 5; //设置行间距
140135
_coretextLabel.wordSpacing = 0.5; //设置字间距
141136
142-
143137
//设置网址链接的属性
144138
_coretextLabel.showWebLink = YES;
145139
_coretextLabel.webLinkFont = [UIFont systemFontOfSize:18.f]; //设置网址链接字体大小
146140
_coretextLabel.webLinkColor = [UIColor blueColor]; //设置网址链接字体颜色
147141
_coretextLabel.webLinkBackColor = [UIColor redColor]; //设置网址链接点击背景色
148142
149-
150-
151143
//设置 #话题#的属性
152144
_coretextLabel.showTopicLink = YES;
153145
_coretextLabel.topicLinkFont = [UIFont systemFontOfSize:15.f];
154146
_coretextLabel.topicLinkColor = [UIColor redColor];
155147
_coretextLabel.topicLinkBackColor = [UIColor blackColor];
156148
157-
158149
//设置 @ 的属性
159150
_coretextLabel.showTrendLink = YES;
160151
_coretextLabel.trendLinkFont = [UIFont systemFontOfSize:18];
161152
_coretextLabel.trendLinkColor = [UIColor purpleColor];
162153
_coretextLabel.trendLinkBackColor = [UIColor darkGrayColor];
163154
164-
165155
//设置邮箱的属性
166156
_coretextLabel.showMailLink = YES;
167157
_coretextLabel.mailLinkFont = [UIFont systemFontOfSize:18.f];

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /