Contents

id

The unique identifier of the view.

Declaration

var id: Subview.ID { get }

Discussion

This identifier persists across updates, changes to the order of subviews, etc. so can be used to track the lifetime of a subview.