The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
EmptyPageView 支持点击事件透传
fix:
#12: UIScrollView设置contentInset后,空位位置偏移不居中
无更新内容, 与 [4.0.8](https://github.com/linhay/EmptyPage/releases/tag/4.0.8) 相同.
chore: 上下区域高度占比约束添加偏移量设置
```swift
case topAndBottomSpacerRatio(_ multiplier: CGFloat, _ constant: CGFloat = 0)
```
- fix: TableView & CollectionView, header & footer 是否存在加入到判空逻辑中.
> 存在 header & footer 则不会显示空页面
- feat: 新增空白页显示隐藏事件监听`displayEvent: EmptyPageDelegate<Bool, Void>`
fix:
- 调整 text / title 视图的约束级别 (priority )
- text / title 默认 height, 修改为 greaterThanOrEqual, 约束级别调整为 defaultHigh(750)
- EmptyPageForText / text / title, 水平/垂直 - 抗压缩/抗拉伸 约束级别调整为 defaultHigh(749)
fix: #10 约束设置错误
- fix: 处理多线程刷新引起的视图无法滚动的问题
修改数据源判断
- [x] 提供默认管理器来支持 UICollectionView & UITableView.
- [x] 可以自定义管理器来支持任何视图.
- [x] 空白页可以是任何形式的视图
- [x] 可以设置自定义的管理器来替代默认管理器
- [x] 可以设置自定义的管理器来全局替代默认管理器
- [x] 我们预置了几套模板来便捷的构建空页面.
- [x] 我们预置了一套带状态的管理器来应对无网络或更多情况