We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6812f1f commit dfed546Copy full SHA for dfed546
1 file changed
Sources/FlexUI/Classes/Extensions/FlexUI+UIView.swift
@@ -209,4 +209,15 @@ public extension FlexUI where Component: UIView {
209
views.forEach { component.addSubview($0) }
210
return self
211
}
212
+
213
+ /// Sets the tint color for the view.
214
+ ///
215
+ /// - Parameter tintColor: The tint color to apply to the view.
216
+ /// - Returns: The current instance, allowing method chaining.
217
+ @discardableResult
218
+ @MainActor
219
+ func tintColor(_ tintColor: UIColor) -> Self {
220
+ component.tintColor = tintColor
221
+ return self
222
+ }
223
0 commit comments