We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72692e9 commit 8f77d66Copy full SHA for 8f77d66
1 file changed
Sources/FlexUI/Classes/Extensions/FlexUI+UIStackView.swift
@@ -79,4 +79,18 @@ public extension FlexUI where Component: UIStackView {
79
component.directionalLayoutMargins = value
80
return self
81
}
82
+
83
+ /// Applies custom spacing after the specified view.
84
+ ///
85
+ /// - Parameters:
86
+ /// - spacing: The spacing between views.
87
+ /// - arrangedSubview: The subview after which the custom spacing should be applied.
88
89
+ /// - Returns: The current instance of `FlexUI` for further configuration.
90
+ @discardableResult
91
+ @MainActor
92
+ func setCustomSpacing(_ spacing: CGFloat, after arrangedSubview: UIView) -> Self {
93
+ component.setCustomSpacing(spacing, after: arrangedSubview)
94
+ return self
95
+ }
96
0 commit comments