Skip to content

Releases: zhenglibao/FlexLib

UILabel增加富文本支持

01 Dec 04:01
Compare
Choose a tag to compare
  1. UILabel增加富文本支持,可以直接在xml中设置UILabel的富文本内容,支持为每个子元素设置onPress点击事件,并允许运行时动态修改富文本内容
  2. 优化getSafeArea实现,优化fontFromString

消除可能导致IDE报错的头文件引用

16 Nov 08:00
Compare
Choose a tag to compare
2.0.1

替换头文件包含

增加组件化支持,组件控件支持评估高度,允许owner中不声明变量

15 Nov 09:37
Compare
Choose a tag to compare
  1. 增加bundleForRes接口,bundleForImage默认使用bundleForRes的返回值,此方法能够更好地支持在组件中使用xml布局
  2. 增加flexBasis属性
  3. iOS11以下添加状态栏高度
  4. owner增加可重载方法needBindVariable, 允许owner不声明变量而使用名称动态获取视图
  5. FlexCustomBaseView用在非xml布局时允许根据内容更新自身的frame
  6. FlexCustomBaseView和FlexCustomView支持使用评估高度

修复FlexModalView连续显示/隐藏的问题

23 Oct 07:27
Compare
Choose a tag to compare
1.9.4

修复FlexModalView连续显示隐藏问题

margin和padding支持设置多值,layout类型的值支持取消设置

16 Oct 10:19
Compare
Choose a tag to compare
  1. 对于margin, padding等Layout类型的值(支持数值和百分比),可以通过设置为none或auto取消原来设置的值
  2. margin和padding支持一次设置4个不同的值,格式为 左/上/右/下
  3. FlexBaseTableCell增加rootview属性
  4. UIScrollView增加alwaysBounceVertical和alwaysBounceHorizontal属性

增加对FlexCollectionCell的支持

30 Sep 02:37
Compare
Choose a tag to compare

升级检测iPhone X设备方法,升级getSafeArea实现

30 Sep 02:36
Compare
Choose a tag to compare
1.9.1

升级检测iPhone X设备方法,升级getSafeArea实现

FlexBaseTableCell支持使用评估高度

07 Sep 03:48
Compare
Choose a tag to compare

使用方法:
_tableview.rowHeight = UITableViewAutomaticDimension;
_tableview.estimatedRowHeight = 88;
即可正常工作

查看布局时禁止变量名绑定,防止产生内存泄漏

23 Jul 06:13
Compare
Choose a tag to compare
1.8.7

查看布局类重写setValue方法等

FlexTextView的placeholder在重设frame后没有刷新的问题

04 Jun 06:45
Compare
Choose a tag to compare
1.8.3

FlexTextView的placeholder在重设frame后没有刷新的问题