The NSUser​Interface​Item​Identification protocol is used to associate a unique identifier with objects in your user interface. The protocol is adopted by AppKit interface objects to support window restoration, whereby information about window and other interface-related objects is preserved and used to restore the application’s interface during the next launch cycle.


Accessing the User Interface Identifier

var identifier:​ String?

A string that identifies the user interface item.