tag(for:)
The tag value for the given type if the container values contains one.
Declaration
func tag<V>(for type: V.Type) -> V? where V : HashableParameters
- type:
The type to get the tag value for.
Return Value
The tag value for the given type if the subview has one, otherwise nil.
Discussion
Tag values are set using the View/tag modifier.