File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ public final class SwappingContainerView<CustomView: UIView, AccessoryView: UIVi
19
19
20
20
/// Keys that specify a horizontal or vertical layout constraint between views.
21
21
public enum Axis : Hashable {
22
+
22
23
/// The constraint applied when laying out the horizontal relationship between views.
23
24
case horizontal
24
25
@@ -111,11 +112,17 @@ public final class SwappingContainerView<CustomView: UIView, AccessoryView: UIVi
111
112
}
112
113
113
114
private struct SwappingContainerState : Equatable {
115
+
114
116
let axis : Axis
117
+
115
118
let distribution : Distribution
119
+
116
120
let spacing : CGFloat
121
+
117
122
let isAccessoryHidden : Bool
123
+
118
124
let isCustomViewHidden : Bool
125
+
119
126
}
120
127
121
128
private var addedConstraints : [ NSLayoutConstraint ] = [ ]
You can’t perform that action at this time.
0 commit comments