Instance Property

name

The name of the receiver.

Declaration

var name: String? { get set }

Discussion

The layer name is used by some layout managers to identify a layer. The default value of this property is nil.