Instance Property

tag

An integer that you can use to identify view objects in your application.

Declaration

var tag: Int { get set }

Discussion

The default value is 0. You can set the value of this tag and use that value to identify the view later.

See Also

Related Symbols

func viewWithTag(Int)

Returns the view whose tag matches the specified value.