File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ Usage
263
263
// 2. Set attributes to text, you can use almost all CoreText attributes.
264
264
text.yy_font = [UIFont boldSystemFontOfSize:30];
265
265
text.yy_color = [UIColor blueColor];
266
- [text yy_setColor:[UIColor redColor] range:NSmakeRange (0, 4)];
266
+ [text yy_setColor:[UIColor redColor] range:NSMakeRange (0, 4)];
267
267
text.yy_lineSpacing = 10;
268
268
269
269
// 3. Set to YYLabel or YYTextView.
@@ -802,7 +802,7 @@ YYText 和 TextKit 架构对比
802
802
// 2. 为文本设置属性
803
803
text.yy_font = [UIFont boldSystemFontOfSize:30];
804
804
text.yy_color = [UIColor blueColor];
805
- [text yy_setColor:[UIColor redColor] range:NSmakeRange (0, 4)];
805
+ [text yy_setColor:[UIColor redColor] range:NSMakeRange (0, 4)];
806
806
text.yy_lineSpacing = 10;
807
807
808
808
// 3. 赋值到 YYLabel 或 YYTextView
You can’t perform that action at this time.
0 commit comments