Skip to content

Commit e84ba43

Browse files
author
@欧柏泉
committed
1.1.1版本更新描述。
1 parent 84abe3d commit e84ba43

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@
3232
![演示图](http://7xoymz.com1.z0.glb.clouddn.com/mylayout.gif)
3333

3434

35+
## V1.1.1版本新功能
36+
1. 新增加了一个mySize属性可以设置布局的宽度和高度,相当于同时设置myWidth,myHeight
37+
2. 修正了和iOS的AutoLayout结合使用时可能出现的布局定位不正确的问题,这个版本可以同时和frame,AutoLayout布局进行混合使用。
38+
3. 修正了其他的小问题,以及注释进行了优化和完整。
39+
4. 将原来的leftMargin,rightMargin,topMargin,bottomMargin,width,height,centerXOffset,centerYOffset,centerOffset这几个方法进行了命名冲突兼容,新版本都在前面增加了my前缀,如果要保持老版本请定义宏:` #define MY_USEOLDMETHODDEF 1 `` #define MY_USEOLDMETHODNOWARNING 1 `
40+
5. 将原来的的MarginGravity枚举类型和LineViewOrientation枚举类型重新定义为:MyMarginGravity和MyLayoutViewOrientation。里面的枚举值也进行重新定义,但可以定义宏:` #define MY_USEOLDENUMDEF 1 `` #define MY_USEOLDENUMNOWARNING 1 `来兼容老版本。
41+
42+
3543
## V1.1.0版本新功能
3644

3745
1. 增加了新布局流式布局MyFlowLayout。

0 commit comments

Comments
 (0)