![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
富文本
weixin_38637490
这个作者很懒,什么都没留下…
展开
-
YYText源码解读-YYText同步/异步渲染流程(二)
文章转载自40K CLUB APP 一、涉及到的几个类 YYLabel:Label控件,继承UIView YYTextLayout、YYTextContainer、YYTextLine:用于布局计算,它是YYLabel的属性,当我们为YYLabel设置属性时(比如text、textColor等),它会计算出布局信息和完成内容的绘制。 YYTextAsyncLayer:自定义的Layer组件 二...原创 2020-03-03 13:32:40 · 423 阅读 · 0 评论 -
YYText源码解读-YYText同步/异步渲染流程(一)—UIView与CALayer
文章转载自40K CLUB APP 一、CALayer官方文档 Layers are often used to provide the backing store for views but can also be used without a view to display content. A layer’s main job is to manage the visual content...原创 2020-03-03 13:28:50 · 279 阅读 · 0 评论