Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions Sources/FlexUI/Classes/Extensions/FlexUI+UIView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -209,4 +209,15 @@ public extension FlexUI where Component: UIView {
views.forEach { component.addSubview($0) }
return self
}

/// Sets the tint color for the view.
///
/// - Parameter tintColor: The tint color to apply to the view.
/// - Returns: The current instance, allowing method chaining.
@discardableResult
@MainActor
func tintColor(_ tintColor: UIColor) -> Self {
component.tintColor = tintColor
return self
}
}