Instance Property

name

The name associated with the receiver.

Declaration

var name: String? { get set }

Discussion

You can use a name string to identify a condition lock within your code. Cocoa also uses this name as part of any error descriptions involving the receiver.