摘要: 一、创建一个文件夹 mkdir Module 二、下载工程脚手架 pod lib create AaronSwift AaronSwift是你要创建的组件工程的名称。安装过程中会提示你输入要下载工程的配置(如下:),依次输入:iOS、Swift、Yes、Quick、Yes,其中第二步如果想创建OC库 阅读全文
posted @ 2020-03-20 09:59 青芒0514 阅读(534) 评论(0) 推荐(0) 编辑
摘要: [文章转载自40K CLUB APP] 一、涉及到的几个类 YYLabel:Label控件,继承UIView YYTextLayout、YYTextContainer、YYTextLine:用于布局计算,它是YYLabel的属性,当我们为YYLabel设置属性时(比如text、textColor等) 阅读全文
posted @ 2020-03-03 14:12 青芒0514 阅读(600) 评论(0) 推荐(0) 编辑
摘要: [文章转载自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. 阅读全文
posted @ 2020-03-03 14:06 青芒0514 阅读(263) 评论(0) 推荐(0) 编辑