---
title: NSUserInterfaceItemIdentification
framework: appkit
role: symbol
role_heading: Protocol
path: appkit/nsuserinterfaceitemidentification
---

# NSUserInterfaceItemIdentification

A set of methods used to associate a unique identifier with objects in your user interface.

## Declaration

```swift
protocol NSUserInterfaceItemIdentification
```

## Overview

Overview 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.

## Topics

### Accessing the User Interface Identifier

- [identifier](appkit/nsuserinterfaceitemidentification/identifier.md)
- [NSUserInterfaceItemIdentifier](appkit/nsuserinterfaceitemidentifier.md)

## Relationships

### Inherited By

- [NSCollectionViewElement](appkit/nscollectionviewelement.md)
- [NSCollectionViewSectionHeaderView](appkit/nscollectionviewsectionheaderview.md)

### Conforming Types

- [NSActionCell](appkit/nsactioncell.md)
- [NSBackgroundExtensionView](appkit/nsbackgroundextensionview.md)
- [NSBox](appkit/nsbox.md)
- [NSBrowser](appkit/nsbrowser.md)
- [NSBrowserCell](appkit/nsbrowsercell.md)
- [NSButton](appkit/nsbutton.md)
- [NSButtonCell](appkit/nsbuttoncell.md)
- [NSCell](appkit/nscell.md)
- [NSClipView](appkit/nsclipview.md)
- [NSCollectionView](appkit/nscollectionview.md)
- [NSCollectionViewItem](appkit/nscollectionviewitem.md)
- [NSColorPanel](appkit/nscolorpanel.md)
- [NSColorWell](appkit/nscolorwell.md)
- [NSComboBox](appkit/nscombobox.md)
- [NSComboBoxCell](appkit/nscomboboxcell.md)
- [NSComboButton](appkit/nscombobutton.md)
- [NSControl](appkit/nscontrol.md)
- [NSDatePicker](appkit/nsdatepicker.md)
- [NSDatePickerCell](appkit/nsdatepickercell.md)
- [NSFontPanel](appkit/nsfontpanel.md)
- [NSForm](appkit/nsform.md)
- [NSFormCell](appkit/nsformcell.md)
- [NSGlassEffectContainerView](appkit/nsglasseffectcontainerview.md)
- [NSGlassEffectView](appkit/nsglasseffectview.md)
- [NSGridView](appkit/nsgridview.md)
- [NSImageCell](appkit/nsimagecell.md)
- [NSImageView](appkit/nsimageview.md)
- [NSLayoutGuide](appkit/nslayoutguide.md)
- [NSLevelIndicator](appkit/nslevelindicator.md)
- [NSLevelIndicatorCell](appkit/nslevelindicatorcell.md)
- [NSMatrix](appkit/nsmatrix.md)
- [NSMenu](appkit/nsmenu.md)
- [NSMenuItem](appkit/nsmenuitem.md)
- [NSMenuItemCell](appkit/nsmenuitemcell.md)
- [NSOpenGLView](appkit/nsopenglview.md)
- [NSOpenPanel](appkit/nsopenpanel.md)
- [NSOutlineView](appkit/nsoutlineview.md)
- [NSPageController](appkit/nspagecontroller.md)
- [NSPanel](appkit/nspanel.md)
- [NSPathCell](appkit/nspathcell.md)
- [NSPathComponentCell](appkit/nspathcomponentcell.md)
- [NSPathControl](appkit/nspathcontrol.md)
- [NSPopUpButton](appkit/nspopupbutton.md)
- [NSPopUpButtonCell](appkit/nspopupbuttoncell.md)
- [NSPredicateEditor](appkit/nspredicateeditor.md)
- [NSProgressIndicator](appkit/nsprogressindicator.md)
- [NSRuleEditor](appkit/nsruleeditor.md)
- [NSRulerView](appkit/nsrulerview.md)
- [NSSavePanel](appkit/nssavepanel.md)
- [NSScrollView](appkit/nsscrollview.md)
- [NSScroller](appkit/nsscroller.md)
- [NSScrubber](appkit/nsscrubber.md)
- [NSScrubberArrangedView](appkit/nsscrubberarrangedview.md)
- [NSScrubberImageItemView](appkit/nsscrubberimageitemview.md)
- [NSScrubberItemView](appkit/nsscrubberitemview.md)
- [NSScrubberSelectionView](appkit/nsscrubberselectionview.md)
- [NSScrubberTextItemView](appkit/nsscrubbertextitemview.md)
- [NSSearchField](appkit/nssearchfield.md)
- [NSSearchFieldCell](appkit/nssearchfieldcell.md)
- [NSSecureTextField](appkit/nssecuretextfield.md)
- [NSSecureTextFieldCell](appkit/nssecuretextfieldcell.md)
- [NSSegmentedCell](appkit/nssegmentedcell.md)
- [NSSegmentedControl](appkit/nssegmentedcontrol.md)
- [NSSlider](appkit/nsslider.md)
- [NSSliderCell](appkit/nsslidercell.md)
- [NSSplitView](appkit/nssplitview.md)
- [NSSplitViewController](appkit/nssplitviewcontroller.md)
- [NSSplitViewItemAccessoryViewController](appkit/nssplitviewitemaccessoryviewcontroller.md)
- [NSStackView](appkit/nsstackview.md)
- [NSStatusBarButton](appkit/nsstatusbarbutton.md)
- [NSStepper](appkit/nsstepper.md)
- [NSStepperCell](appkit/nssteppercell.md)
- [NSSwitch](appkit/nsswitch.md)
- [NSTabView](appkit/nstabview.md)
- [NSTabViewController](appkit/nstabviewcontroller.md)
- [NSTableCellView](appkit/nstablecellview.md)
- [NSTableColumn](appkit/nstablecolumn.md)
- [NSTableHeaderCell](appkit/nstableheadercell.md)
- [NSTableHeaderView](appkit/nstableheaderview.md)
- [NSTableRowView](appkit/nstablerowview.md)
- [NSTableView](appkit/nstableview.md)
- [NSText](appkit/nstext.md)
- [NSTextAttachmentCell](appkit/nstextattachmentcell-swift.class.md)
- [NSTextField](appkit/nstextfield.md)
- [NSTextFieldCell](appkit/nstextfieldcell.md)
- [NSTextInsertionIndicator](appkit/nstextinsertionindicator.md)
- [NSTextView](appkit/nstextview.md)
- [NSTitlebarAccessoryViewController](appkit/nstitlebaraccessoryviewcontroller.md)
- [NSTokenField](appkit/nstokenfield.md)
- [NSTokenFieldCell](appkit/nstokenfieldcell.md)
- [NSView](appkit/nsview.md)
- [NSViewController](appkit/nsviewcontroller.md)
- [NSVisualEffectView](appkit/nsvisualeffectview.md)
- [NSWindow](appkit/nswindow.md)

## See Also

### Window Restoration

- [Restoring your app’s state with AppKit](appkit/restoring-your-app-s-state-with-appkit.md)
- [NSWindowRestoration](appkit/nswindowrestoration.md)
