File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 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
1919
2020 /// Keys that specify a horizontal or vertical layout constraint between views.
2121 public enum Axis : Hashable {
22+
2223 /// The constraint applied when laying out the horizontal relationship between views.
2324 case horizontal
2425
@@ -111,11 +112,17 @@ public final class SwappingContainerView<CustomView: UIView, AccessoryView: UIVi
111112 }
112113
113114 private struct SwappingContainerState : Equatable {
115+
114116 let axis : Axis
117+
115118 let distribution : Distribution
119+
116120 let spacing : CGFloat
121+
117122 let isAccessoryHidden : Bool
123+
118124 let isCustomViewHidden : Bool
125+
119126 }
120127
121128 private var addedConstraints : [ NSLayoutConstraint ] = [ ]
You can’t perform that action at this time.
0 commit comments