[Add] AlibabacloudAgency20221216 1.7.0
[CocoaPods.git] / Specs / 5 / 7 / 6 / DLLLayout / 0.1.1 / DLLLayout.podspec.json
blobc80bd570258379e788a30f41723c1b758dcd8c00
2   "name": "DLLLayout",
3   "version": "0.1.1",
4   "summary": "DLLLayout 是一个基于 UIView.frame 的轻量级 iOS 布局框架。",
5   "description": "DLLLayout 是一个基于 UIView.frame 的轻量级 iOS 布局框架。相比苹果的 AutoLayout,它有着更友善的 API 和更高的性能,虽然功能上不如 AutoLayout 大又全,比如不支持 greaterThan、lesserThan、priority 等,但也能够满足90%以上的业务场景。在性能上,如果需要通过视图内容自适应宽高(例如 UILabel、UIButton 根据内容计算宽高),布局耗时为苹果 AutoLayout 的 1/2 左右;反之如果设置了视图的宽高,布局耗时只有苹果 AutoLayout 的不到 1/8。\n给 UIView 设置布局规则,通过 hook UIView.layoutSubviews,在这个方法里对设置过布局规则的视图设置 frame,实现布局功能。因为布局活动触发在系统的 layoutSubviews 之前,所以仍然可以通过重写子类的 layoutSubviews 来实现自己的布局。",
6   "homepage": "https://github.com/xiaobinlzy/DLLLayout",
7   "license": {
8     "type": "MIT",
9     "file": "LICENSE"
10   },
11   "authors": {
12     "xiaobinlzy": "xiaobinlzy@163.com"
13   },
14   "source": {
15     "git": "https://github.com/xiaobinlzy/DLLLayout.git",
16     "tag": "0.1.1"
17   },
18   "platforms": {
19     "ios": "6.0"
20   },
21   "source_files": "DLLLayout/**/*",
22   "public_header_files": [
23     "DLLLayout/DLLLayout.h",
24     "DLLLayout/DLLLayoutDefine.h",
25     "DLLLayout/UIView+DLLLayout.h",
26     "DLLLayout/DLLLayoutRelativeMaker.h",
27     "DLLLayout/DLLLayoutRelative.h"
28   ]