File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ Usage
263263 // 2. Set attributes to text, you can use almost all CoreText attributes.
264264 text.yy_font = [UIFont boldSystemFontOfSize:30];
265265 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)];
267267 text.yy_lineSpacing = 10;
268268
269269 // 3. Set to YYLabel or YYTextView.
@@ -802,7 +802,7 @@ YYText 和 TextKit 架构对比
802802 // 2. 为文本设置属性
803803 text.yy_font = [UIFont boldSystemFontOfSize:30];
804804 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)];
806806 text.yy_lineSpacing = 10;
807807
808808 // 3. 赋值到 YYLabel 或 YYTextView
You can’t perform that action at this time.
0 commit comments