We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01088ea commit f105268Copy full SHA for f105268
1 file changed
Sources/FlexUI/Classes/Extensions/FlexUI+UIView.swift
@@ -176,4 +176,15 @@ public extension FlexUI where Component: UIView {
176
component.setContentCompressionResistancePriority(priority, for: axis)
177
return self
178
}
179
+
180
+ /// Sets the tint color for the view.
181
+ ///
182
+ /// - Parameter tintColor: The tint color to apply to the view.
183
+ /// - Returns: The current instance, allowing method chaining.
184
+ @discardableResult
185
+ @MainActor
186
+ func tintColor(_ tintColor: UIColor) -> Self {
187
+ component.tintColor = tintColor
188
+ return self
189
+ }
190
0 commit comments