NSImage.Name
Named images, defined by the system or you, for use in your app.
Declaration
typealias Name = StringDiscussion
The appearance of system-supplied images can change between releases. If you use an image for its intended purpose (and not because of how it looks), your code should look correct from release to release.
The size and aspect ratio of system images can also change between releases. In some situations, you should explicitly resize images as appropriate for your use. If you use these images in conjunction with an NSButtonCell object, however, you can use the imageScaling property of the cell to control scaling instead. Similarly, for an NSSegmentedCell object, you can use the setImageScaling(_:forSegment:): method to control scaling.
Constants that end in the word “Template” represent template images. These images can be processed into variants appropriate for different situations. For example, these images can invert in a selected table view row. See isTemplate for more information.
Some images also contain the word “FreestandingTemplate”. These images are template images that are appropriate for use as a borderless button—that is, it doesn’t need any extra bezel artwork behind it.
Topics
System Images
actionTemplateNameaddTemplateNameadvancedNameapplicationIconNamebluetoothTemplateNamebonjourNamebookmarksTemplateNamecautionNamecolorPanelNamecolumnViewTemplateNamecomputerNameenterFullScreenTemplateNameeveryoneNameexitFullScreenTemplateNameflowViewTemplateNamefolderNamefolderBurnableNamefolderSmartNamefollowLinkFreestandingTemplateNamefontPanelNamegoBackTemplateNamegoForwardTemplateNamegoLeftTemplateNamegoRightTemplateNamehomeTemplateNameiChatTheaterTemplateNameiconViewTemplateNameinfoNameinvalidDataFreestandingTemplateNameleftFacingTriangleTemplateNamelistViewTemplateNamelockLockedTemplateNamelockUnlockedTemplateNamemenuMixedStateTemplateNamemenuOnStateTemplateNamemobileMeNamemultipleDocumentsNamenetworkNamepathTemplateNamepreferencesGeneralNamequickLookTemplateNamerefreshFreestandingTemplateNamerefreshTemplateNameremoveTemplateNamerevealFreestandingTemplateNamerightFacingTriangleTemplateNameshareTemplateNameslideshowTemplateNamesmartBadgeTemplateNamestatusAvailableNamestatusNoneNamestatusPartiallyAvailableNamestatusUnavailableNamestopProgressFreestandingTemplateNamestopProgressTemplateNametouchBarAddDetailTemplateNametouchBarAddTemplateNametouchBarAlarmTemplateNametouchBarAudioInputMuteTemplateNametouchBarAudioInputTemplateNametouchBarAudioOutputMuteTemplateNametouchBarAudioOutputVolumeHighTemplateNametouchBarAudioOutputVolumeLowTemplateNametouchBarAudioOutputVolumeMediumTemplateNametouchBarAudioOutputVolumeOffTemplateNametouchBarBookmarksTemplateNametouchBarColorPickerFillNametouchBarColorPickerFontNametouchBarColorPickerStrokeNametouchBarCommunicationAudioTemplateNametouchBarCommunicationVideoTemplateNametouchBarComposeTemplateNametouchBarDeleteTemplateNametouchBarDownloadTemplateNametouchBarEnterFullScreenTemplateNametouchBarExitFullScreenTemplateNametouchBarFastForwardTemplateNametouchBarFolderCopyToTemplateNametouchBarFolderMoveToTemplateNametouchBarFolderTemplateNametouchBarGetInfoTemplateNametouchBarGoBackTemplateNametouchBarGoDownTemplateNametouchBarGoForwardTemplateNametouchBarGoUpTemplateNametouchBarHistoryTemplateNametouchBarIconViewTemplateNametouchBarListViewTemplateNametouchBarMailTemplateNametouchBarNewFolderTemplateNametouchBarNewMessageTemplateNametouchBarOpenInBrowserTemplateNametouchBarPauseTemplateNametouchBarPlayPauseTemplateNametouchBarPlayTemplateNametouchBarPlayheadTemplateNametouchBarQuickLookTemplateNametouchBarRecordStartTemplateNametouchBarRecordStopTemplateNametouchBarRefreshTemplateNametouchBarRemoveTemplateNametouchBarRewindTemplateNametouchBarRotateLeftTemplateNametouchBarRotateRightTemplateNametouchBarSearchTemplateNametouchBarShareTemplateNametouchBarSidebarTemplateNametouchBarSkipAhead15SecondsTemplateNametouchBarSkipAhead30SecondsTemplateNametouchBarSkipAheadTemplateNametouchBarSkipBack15SecondsTemplateNametouchBarSkipBack30SecondsTemplateNametouchBarSkipBackTemplateNametouchBarSkipToEndTemplateNametouchBarSkipToStartTemplateNametouchBarSlideshowTemplateNametouchBarTagIconTemplateNametouchBarTextBoldTemplateNametouchBarTextBoxTemplateNametouchBarTextCenterAlignTemplateNametouchBarTextItalicTemplateNametouchBarTextJustifiedAlignTemplateNametouchBarTextLeftAlignTemplateNametouchBarTextListTemplateNametouchBarTextRightAlignTemplateNametouchBarTextStrikethroughTemplateNametouchBarTextUnderlineTemplateNametouchBarUserAddTemplateNametouchBarUserGroupTemplateNametouchBarUserTemplateNametouchBarVolumeDownTemplateNametouchBarVolumeUpTemplateNametrashEmptyNametrashFullNameuserNameuserAccountsNameuserGroupNameuserGuestName
See Also
Creating Images by Name
Configuring and displaying symbol images in your UIinit(named:)init(systemSymbolName:accessibilityDescription:)init(systemSymbolName:variableValue:accessibilityDescription:)init(symbolName:variableValue:)init(symbolName:bundle:variableValue:)init(resource:)setName(_:)name()init(imageLiteralResourceName:)