We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71a4767 commit 8e4215eCopy full SHA for 8e4215e
1 file changed
Sources/FlexUI/Classes/Extensions/FlexUI+UIView.swift
@@ -220,4 +220,15 @@ public extension FlexUI where Component: UIView {
220
component.tintColor = tintColor
221
return self
222
}
223
+
224
+ /// Sets the tag for the view.
225
+ ///
226
+ /// - Parameter tag: An integer value identifying the view.
227
+ /// - Returns: The current instance, allowing method chaining.
228
+ @discardableResult
229
+ @MainActor
230
+ func tag(_ tag: Int) -> Self {
231
+ component.tag = tag
232
+ return self
233
+ }
234
0 commit comments