Skip to content

Commit 987fe78

Browse files
committed
Updated README
1 parent e95f489 commit 987fe78

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ChatLayout/Classes/Extras/SwappingContainerView.swift

+7
Original file line numberDiff line numberDiff 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] = []

0 commit comments

Comments
 (0)