Instance Property

name

The name associated with the receiver.

Declaration

@property(copy) NSString *name;

Discussion

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