You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 30, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,14 @@
1
1
# UIEmptyState CHANGELOG
2
2
3
+
## Version 3.0.0
4
+
5
+
- Fixed bug where `UIEmptyStateDataSource.emptyStateView` computed property and the the `UIViewController+UIEmptyState.emptyStateView` properties conflicted thus not allowing creation of custom view.
6
+
- Custom views now work as intended, you can return a `UIView` subclass in the `UIEmptyStateDataSource.emptyStateView` computed property. Make sure to set any needed constraints, etc.
7
+
8
+
**Breaking API changes:**
9
+
10
+
Remove `emptyStateView` from view controller extension. This was never intended to be accessible outside of the extension. Use the `emptyStateView` computed property in `UIEmptyStateDataSource` to create a custom view instead.
11
+
3
12
## Version 2.0.2
4
13
5
14
Bug fix for retain cycle between delegate, datasource, and the view controller.
Copy file name to clipboardExpand all lines: docs/Protocols/UIEmptyStateDataSource.html
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -810,7 +810,7 @@ <h4>Parameters</h4>
810
810
<td>
811
811
<div>
812
812
<p>The duration which we should animate for,
813
-
value is grabbed from <code>emptyStateViewAnimationDuration</code></p>
813
+
value is grabbed from <code><ahref="../Protocols/UIEmptyStateDataSource.html#/s:12UIEmptyState0aB10DataSourceP05emptyB21ViewAnimationDurationSdv">emptyStateViewAnimationDuration</a></code></p>
0 commit comments