App​Kit Constants

Overview

There are three types of constant in this document: global variables, errors, and exceptions.

Overview

This document describes the constants defined in the Application Kit framework that are not defined in, or are not described in, a document for an individual class.

See AppKit Data Types for descriptions of other constants defined in enumerations.

Symbols

Global Variables

Color Space Names

Color-space names designate predefined color spaces.

Grayscale Values

These constants are the standard gray values for the 2-bit deep grayscale color space.

Errors

Attributed String Errors

These constants represent errors generated by NSAttributed​String.

Services Error Codes

These constants represent errors returned by application services.

Exceptions

Application Kit Exception Names

These constants name the exceptions that the Application Kit can raise.

Constants

let NSAccelerator​Button:​ NSButton​Type

On pressure-sensitive systems, such as systems with the Force Touch trackpad, an accelerator button sends repeating actions as pressure changes occur. It stops sending actions when the user releases pressure entirely. A media player app, for example, might implement an accelerator button in order to allow a user to adjust the speed of fast forward or rewind with variable pressure. In this case, actions are sent to the app to indicate when pressure on the button has changed. The app would then determine the amount of pressure currently applied, and adjust playback speed accordingly.

let NSCircular​Bezel​Style:​ NSBezel​Style

A round button with room for a small icon or a single character.

let NSDisclosure​Bezel​Style:​ NSBezel​Style

A bezel style for use with a disclosure triangle.

let NSHelp​Button​Bezel​Style:​ NSBezel​Style

A round button with a question mark providing the standard help button look.

let NSInline​Bezel​Style:​ NSBezel​Style

The inline bezel style contains a solid round-rect border background. It can be used to create an "unread" indicator in an outline view, or another inline button in a tableview, such as a stop progress button in a download panel. Use text for an unread indicator, and a template image for other buttons.

let NSMomentary​Change​Button:​ NSButton​Type

When the button is clicked, the alternate (on state) image and alternate title are displayed.

let NSMomentary​Light​Button:​ NSButton​Type

When the button is clicked (on state), it appears illuminated. If the button has borders, it may also appear recessed. When the button is released, it returns to its normal (off) state.

let NSMomentary​Push​In​Button:​ NSButton​Type

When the user clicks the button (on state), the button appears illuminated.

let NSMulti​Level​Accelerator​Button:​ NSButton​Type

A multilevel accelerator button is a variation of a normal accelerator button that allows for a configurable number of stepped pressure levels. As each one is reached, the user receives light tactile feedback and an action is sent.

let NSAWTEvent​Type:​ NSEvent​Subtype

An event type used to support Java applications.

Deprecated
let NSAccessibility​Activation​Point​Attribute:​ Stringlet NSAccessibility​Alternate​UIVisible​Attribute:​ String
let NSAccessibility​Announcement​Key:​ String

The announcement, as a localized string. This key is required for NSAccessibility and should be used in conjunction with NSAccessibility​Priority​Key to help assistive apps determine the importance of the announcement.

let NSAccessibility​Announcement​Requested​Notification:​ String

This notification is posted whenever an accessibility element needs to make an announcement to the user. This notification requires a user​Info dictionary with the key NSAccessibility​Announcement​Key and a localized string containing the announcement. To help an assistive app determine the importance of the announcement, add the appropriate NSAccessibility​Priority​Key to the user​Info dictionary.

let NSAccessibility​Application​Activated​Notification:​ String

This notification is posted after the app has been activated. Post this notification using the NSAccessibility​Post​Notification(_:​_:​) function instead of an NSNotification​Center instance.

let NSAccessibility​Application​Deactivated​Notification:​ String

This notification is posted after the app has been deactivated. Post this notification using the NSAccessibility​Post​Notification(_:​_:​) function instead of an NSNotification​Center instance.

let NSAccessibility​Application​Hidden​Notification:​ String

This notification is posted after the app is hidden. Post this notification using the NSAccessibility​Post​Notification(_:​_:​) function instead of an NSNotification​Center instance.

let NSAccessibility​Application​Shown​Notification:​ String

This notification is posted after the app is shown. Post this notification using the NSAccessibility​Post​Notification(_:​_:​) function instead of an NSNotification​Center instance.

let NSAccessibility​Cell​Role:​ String

The cell role in a table or matrix.

let NSAccessibility​Content​List​Subrole:​ String

A subrole for content that is organized in a list, but is not in a list control or table view.

let NSAccessibility​Created​Notification:​ String

This notification is posted after an accessibility element is created. Post this notification using the NSAccessibility​Post​Notification(_:​_:​) function instead of an NSNotification​Center instance.

let NSAccessibility​Decrement​Arrow​Subrole:​ String

A decrement arrow subrole (the down arrow in a scroll bar).

let NSAccessibility​Decrement​Page​Subrole:​ String

A decrement page subrole (the decrement area in the scroll track of a scroll bar).

let NSAccessibility​Definition​List​Subrole:​ String

A subrole for a content list in a webpage.

let NSAccessibility​Drawer​Created​Notification:​ String

This notification is posted after a drawer appears. Post this notification using the NSAccessibility​Post​Notification(_:​_:​) function instead of an NSNotification​Center instance.

let NSAccessibility​Error​Code​Exception​Info:​ String

An integer error code used for debugging (as an NSNumber).

let NSAccessibility​Focused​UIElement​Changed​Notification:​ String

This notification is posted after an accessibility element gains focus. Post this notification using the NSAccessibility​Post​Notification(_:​_:​) function instead of an NSNotification​Center instance.

let NSAccessibility​Focused​Window​Changed​Notification:​ String

This notification is posted after the key window changes. Post this notification using the NSAccessibility​Post​Notification(_:​_:​) function instead of an NSNotification​Center instance.

let NSAccessibility​Grow​Area​Role:​ String

The grow (resize) area role in a window.

let NSAccessibility​Help​Tag​Created​Notification:​ String

This notification is posted after a help tag appears. Post this notification using the NSAccessibility​Post​Notification(_:​_:​) function instead of an NSNotification​Center instance.

let NSAccessibility​Increment​Arrow​Subrole:​ String

An increment arrow subrole (the up arrow in a scroll bar).

let NSAccessibility​Increment​Page​Subrole:​ String

An increment page subrole (the increment area in the scroll track of a scroll bar).

let NSAccessibility​Layout​Area​Role:​ String

The layout area role (a view, such as a graphic view, that contains visual elements that may not have any accessibility representation).

let NSAccessibility​Layout​Changed​Notification:​ String

This notification is posted after the UI changes in a way that requires the attention of an accessibility client. This notification should be accompanied by a user​Info dictionary with the key NSAccessibility​UIElements​Key and an array containing the UI elements that have been added or changed. Post this notification using the NSAccessibility​Post​Notification(_:​_:​) function instead of an NSNotification​Center instance.

let NSAccessibility​Layout​Item​Role:​ String

The role for an item in a layout area.

let NSAccessibility​List​Item​Index​Text​Attribute:​ Stringlet NSAccessibility​List​Item​Level​Text​Attribute:​ Stringlet NSAccessibility​List​Item​Prefix​Text​Attribute:​ String
let NSAccessibility​Main​Window​Changed​Notification:​ String

This notification is posted after the main window changes. Post this notification using the NSAccessibility​Post​Notification(_:​_:​) function instead of an NSNotification​Center instance.

let NSAccessibility​Menu​Bar​Item​Role:​ String
let NSAccessibility​Moved​Notification:​ String

This notification is posted after an accessibility element moves. Post this notification using the NSAccessibility​Post​Notification(_:​_:​) function instead of an NSNotification​Center instance.

let NSAccessibility​Priority​Key:​ String

A priority level that can help an assistive app determine how to handle the corresponding notification (required for NSAccessibility). For example, VoiceOver uses the priority to decide whether to speak an announcement immediately or after the current speech has finished.

let NSAccessibility​Required​Attribute:​ String
let NSAccessibility​Resized​Notification:​ String

This notification is posted after an accessibility element’s size changes. Post this notification using the NSAccessibility​Post​Notification(_:​_:​) function instead of an NSNotification​Center instance.

let NSAccessibility​Row​Collapsed​Notification:​ String

This notification is posted after a row collapses. Post this notification using the NSAccessibility​Post​Notification(_:​_:​) function instead of an NSNotification​Center instance.

let NSAccessibility​Row​Count​Changed​Notification:​ String

This notification is posted after a row is added or deleted. Post this notification using the NSAccessibility​Post​Notification(_:​_:​) function instead of an NSNotification​Center instance.

let NSAccessibility​Row​Expanded​Notification:​ String

This notification is posted after a row expands. Post this notification using the NSAccessibility​Post​Notification(_:​_:​) function instead of an NSNotification​Center instance.

let NSAccessibility​Selected​Cells​Changed​Notification:​ String

This notification is posted after one or more cells in a cell-based table are selected or deselected. Post this notification using the NSAccessibility​Post​Notification(_:​_:​) function instead of an NSNotification​Center instance.

let NSAccessibility​Selected​Children​Changed​Notification:​ String

This notification is posted after one or more child elements are selected or deselected. Post this notification using the NSAccessibility​Post​Notification(_:​_:​) function instead of an NSNotification​Center instance.

let NSAccessibility​Selected​Children​Moved​Notification:​ String

This notification is posted after the selected items in a layout area move. Post this notification using the NSAccessibility​Post​Notification(_:​_:​) function instead of an NSNotification​Center instance.

let NSAccessibility​Selected​Columns​Changed​Notification:​ String

This notification is posted after one or more columns are selected or deselected. Post this notification using the NSAccessibility​Post​Notification(_:​_:​) function instead of an NSNotification​Center instance.

let NSAccessibility​Selected​Rows​Changed​Notification:​ String

This notification is posted after one or more rows are selected or deselected. Post this notification using the NSAccessibility​Post​Notification(_:​_:​) function instead of an NSNotification​Center instance.

let NSAccessibility​Selected​Text​Changed​Notification:​ String

This notification is posted after text is selected or deselected. Post this notification using the NSAccessibility​Post​Notification(_:​_:​) function instead of an NSNotification​Center instance.

let NSAccessibility​Shared​Focus​Elements​Attribute:​ String
let NSAccessibility​Sheet​Created​Notification:​ String

This notification is posted after a sheet appears. Post this notification using the NSAccessibility​Post​Notification(_:​_:​) function instead of an NSNotification​Center instance.

let NSAccessibility​Sort​Button​Subrole:​ String

A sort button subrole for a table or outline view.

let NSAccessibility​Splitter​Role:​ String

The splitter bar role for a split view.

let NSAccessibility​System​Dialog​Subrole:​ String

A system dialog subrole (a system-generated dialog that floats on the top layer, regardless of which app is frontmost).

let NSAccessibility​System​Floating​Window​Subrole:​ String

A system floating window subrole (a system-generated panel).

let NSAccessibility​System​Wide​Role:​ String

The systemwide accessibility object role.

let NSAccessibility​Text​Alignment​Attribute:​ String
let NSAccessibility​Title​Changed​Notification:​ String

This notification is posted after an accessibility element’s title changes. Post this notification using the NSAccessibility​Post​Notification(_:​_:​) function instead of an NSNotification​Center instance.

let NSAccessibility​UIElement​Destroyed​Notification:​ String

This notification is posted after an accessibility element is destroyed. Post this notification using the NSAccessibility​Post​Notification(_:​_:​) function instead of an NSNotification​Center instance.

let NSAccessibility​UIElements​Key:​ String

An array of elements that are associated with the notification. For example, the NSAccessibility should use this key to identify the elements that have been added or changed.

let NSAccessibility​Units​Changed​Notification:​ String

This notification is posted after the units in a layout area change. Post this notification using the NSAccessibility​Post​Notification(_:​_:​) function instead of an NSNotification​Center instance.

let NSAccessibility​Unknown​Role:​ String

An object whose role is unknown.

let NSAccessibility​Value​Changed​Notification:​ String

This notification is posted after an accessibility element’s value changes. Post this notification using the NSAccessibility​Post​Notification(_:​_:​) function instead of an NSNotification​Center instance.

let NSAccessibility​Window​Created​Notification:​ String

This notification is posted after a new window appears. Post this notification using the NSAccessibility​Post​Notification(_:​_:​) function instead of an NSNotification​Center instance.

let NSAccessibility​Window​Deminiaturized​Notification:​ String

This notification is posted after a window is restored to full size from the Dock. Post this notification using the NSAccessibility​Post​Notification(_:​_:​) function instead of an NSNotification​Center instance.

let NSAccessibility​Window​Miniaturized​Notification:​ String

This notification is posted after a window is put in the Dock. Post this notification using the NSAccessibility​Post​Notification(_:​_:​) function instead of an NSNotification​Center instance.

let NSAccessibility​Window​Moved​Notification:​ String

This notification is posted after a window moves. Post this notification using the NSAccessibility​Post​Notification(_:​_:​) function instead of an NSNotification​Center instance.

let NSAccessibility​Window​Resized​Notification:​ String

This notification is posted after a window’s size changes. Post this notification using the NSAccessibility​Post​Notification(_:​_:​) function instead of an NSNotification​Center instance.

let NSAll​Roman​Input​Sources​Locale​Identifier:​ String

A meta-locale identifier representing the set of Roman input sources available. You can pass [NSArray array​With​Object:​ NSAll​Roman​Input​Sources​Locale​Identifier] to the allowed​Input​Source​Locales property to restrict allowed input sources to Roman only.

let NSAlpha​First​Bitmap​Format:​ NSBitmap​Format

A format where the alpha value comes first. (If this option is not specified, alpha values are the last component specified, as in CMYKA and RGBA.)

let NSAlpha​Nonpremultiplied​Bitmap​Format:​ NSBitmap​Format

A format where alpha values are not premultiplied. (If this option is not specified, alpha values are premultiplied.)

let NSAlpha​Shift​Key​Mask:​ NSEvent​Modifier​Flags

Set if Caps Lock key is pressed.

Deprecated
let NSAlternate​Key​Mask:​ NSEvent​Modifier​Flags

Set if Option or Alternate key is pressed.

Deprecated
let NSAnimation​Progress​Mark:​ Stringlet NSAnimation​Trigger​Order​In:​ Stringlet NSAnimation​Trigger​Order​Out:​ String
var NSApp:​ NSApplication!

Global constant for the shared app instance. This is the same as sending the NSApplication class the method shared() message.

let NSApp​Kit​Version​Number:​ Double

This value corresponds to one of the constants defined in AppKit framework version numbers.

var NSApp​Kit​Version​Number10_0:​ Int32

The AppKit framework included in OS X v10.0.

var NSApp​Kit​Version​Number10_1:​ Int32

The AppKit framework included in OS X v10.1.

var NSApp​Kit​Version​Number10_10:​ Int32var NSApp​Kit​Version​Number10_10_2:​ Int32var NSApp​Kit​Version​Number10_10_3:​ Int32var NSApp​Kit​Version​Number10_10_4:​ Int32var NSApp​Kit​Version​Number10_10_5:​ Int32var NSApp​Kit​Version​Number10_10_Max:​ Int32var NSApp​Kit​Version​Number10_11:​ Int32var NSApp​Kit​Version​Number10_11_1:​ Doublevar NSApp​Kit​Version​Number10_11_2:​ Doublevar NSApp​Kit​Version​Number10_11_3:​ Doublevar NSApp​Kit​Version​Number10_12:​ Int32var NSApp​Kit​Version​Number10_12_1:​ Doublevar NSApp​Kit​Version​Number10_12_2:​ Double
var NSApp​Kit​Version​Number10_2:​ Int32

The AppKit framework included in OS X v10.2.

var NSApp​Kit​Version​Number10_2_3:​ Double

The AppKit framework included in OS X v10.2.3.

var NSApp​Kit​Version​Number10_3:​ Int32

The AppKit framework included in OS X v10.3.

var NSApp​Kit​Version​Number10_3_2:​ Double

The AppKit framework included in OS X v10.3.2.

var NSApp​Kit​Version​Number10_3_3:​ Double

The AppKit framework included in OS X v10.3.3.

var NSApp​Kit​Version​Number10_3_5:​ Double

The AppKit framework included in OS X v10.3.5.

var NSApp​Kit​Version​Number10_3_7:​ Double

The AppKit framework included in OS X v10.3.7.

var NSApp​Kit​Version​Number10_3_9:​ Double

The AppKit framework included in OS X v10.3.9.

var NSApp​Kit​Version​Number10_4:​ Int32

The AppKit framework included in OS X v10.4.

var NSApp​Kit​Version​Number10_4_1:​ Double

The AppKit framework included in OS X v10.4.1.

var NSApp​Kit​Version​Number10_4_3:​ Double

The AppKit framework included in OS X v10.4.3.

var NSApp​Kit​Version​Number10_4_4:​ Double

The AppKit framework included in OS X v10.4.4.

var NSApp​Kit​Version​Number10_4_7:​ Double

The AppKit framework included in OS X v10.4.7.

var NSApp​Kit​Version​Number10_5:​ Int32

The AppKit framework included in OS X v10.5.

var NSApp​Kit​Version​Number10_5_2:​ Double

The AppKit framework included in OS X v10.5.2.

var NSApp​Kit​Version​Number10_5_3:​ Double

The AppKit framework included in OS X v10.5.3.

var NSApp​Kit​Version​Number10_6:​ Int32

The AppKit framework included in OS X v10.6.

var NSApp​Kit​Version​Number10_7:​ Int32

The AppKit framework included in OS X v10.7.

var NSApp​Kit​Version​Number10_7_2:​ Double

The AppKit framework included in OS X v10.7.2.

var NSApp​Kit​Version​Number10_7_3:​ Double

The AppKit framework included in OS X v10.7.3.

var NSApp​Kit​Version​Number10_7_4:​ Double

The AppKit framework included in OS X v10.7.4.

var NSApp​Kit​Version​Number10_8:​ Int32

The AppKit framework included in OS X v10.8.

var NSApp​Kit​Version​Number10_9:​ Int32
var NSApp​Kit​Version​Number​With​Column​Resizing​Browser:​ Double

The specific version of the AppKit framework that introduced support for resizing individual browser columns. Developers should not need to use this constant unless they are writing applications for macOS 10.3 and earlier.

var NSApp​Kit​Version​Number​With​Continuous​Scrolling​Browser:​ Double

The specific version of the AppKit framework that introduced support the continuous scrolling in NSBrowser. Developers should not need to use this constant unless they are writing applications for macOS 10.3 and earlier.

var NSApp​Kit​Version​Number​With​Cursor​Size​Support:​ Double
var NSApp​Kit​Version​Number​With​Custom​Sheet​Position:​ Double

The specific version of the AppKit framework that introduced custom sheet positioning. Developers should not need to use this constant unless they are writing applications for macOS 10.2 and earlier.

var NSApp​Kit​Version​Number​With​Deferred​Window​Display​Support:​ Double

The specific version of the AppKit framework that introduced support for deferred window display. Developers should not need to use this constant unless they are writing applications for OS X v10.5 and earlier.

var NSApp​Kit​Version​Number​With​Directional​Tabs:​ Double

The specific version of the AppKit framework that introduced support for directional tab items.

var NSApp​Kit​Version​Number​With​Dock​Tile​Plug​In​Support:​ Double

The specific version of the AppKit framework that introduced support for dock tile plug-ins.. Developers should not need to use this constant unless they are writing applications for macOS 10.5 and earlier.

var NSApp​Kit​Version​Number​With​Pattern​Color​Leak​Fix:​ Doublelet NSAppearance​Name​Aqua:​ Stringlet NSAppearance​Name​Vibrant​Dark:​ Stringlet NSAppearance​Name​Vibrant​Light:​ String
let NSApplication​Activated​Event​Type:​ NSEvent​Subtype

The application has been activated.

Deprecated
let NSApplication​Deactivated​Event​Type:​ NSEvent​Subtype

The application has been deactivated.

Deprecated
let NSApplication​Launch​Is​Default​Launch​Key:​ String

The value for this key is an NSNumber containing a Boolean value. The value is false if the app was launched to open or print a file, to perform a Service action, if the app had saved state that will be restored, or if the app launch was in some other sense not a default launch. Otherwise its value will be true.

let NSApplication​Launch​User​Notification​Key:​ String

A key that indicates your app was launched because a user activated a notification in the Notification Center.

let NSAttachment​Attribute​Name:​ String
let NSAuthor​Document​Attribute:​ String

The value of this attribute is an NSString object containing author name.

let NSBackground​Color​Attribute​Name:​ String
let NSBackground​Color​Document​Attribute:​ String

The value of this attribute is an NSColor object representing the document-wide page background color.

let NSBacking​Property​Old​Scale​Factor​Key:​ String

An NSNumber containing the old scale factor.

let NSBase​URLDocument​Option:​ String

For HTML documents; NSURL containing base URL. Previous string constant was @"Base​URL"

let NSBaseline​Offset​Attribute​Name:​ String
let NSBorderless​Window​Mask:​ NSWindow​Style​Mask

The window displays none of the usual peripheral elements. Useful only for display or caching purposes. A window that uses NSBorderless​Window​Mask can’t become key or main, unless the value of can​Become​Key or can​Become​Main is true. Note that you can set a window’s or panel’s style mask to NSBorderless​Window​Mask in Interface Builder by deselecting Title Bar in the Appearance section of the Attributes inspector.

Deprecated
let NSBottom​Margin​Document​Attribute:​ String

The value of this attribute is an NSNumber object containing a float, in points.

let NSCMYKColor​Space​Model:​ NSColor​Space​Modellet NSCMYKMode​Color​Panel:​ NSColor​Panel​Mode
let NSCategory​Document​Attribute:​ String

The value of this attribute is an NSString object containing the document’s category.

let NSCharacter​Encoding​Document​Attribute:​ String

The value of this attribute is an NSNumber object containing integer specifying NSString​Encoding for the file; default for plain text is the default encoding. This key in options can specify the string encoding for reading the data. Upon return, the document attributes can contain the actual encoding used. For writing methods, this value is used for generating the plain text data.

let NSCharacter​Encoding​Document​Option:​ String

For plain text documents; NSNumber containing the unsigned int NSString​Encoding to override any encoding specified in an HTML document. Previous string constant was @"Character​Encoding".

let NSCharacter​Shape​Attribute​Name:​ String

An integer value. The value is interpreted as Apple Type Services k​Character​Shape​Type selector + 1.

Deprecated
let NSClosable​Window​Mask:​ NSWindow​Style​Mask

The window displays a close button.

Deprecated
let NSCocoa​Version​Document​Attribute:​ String

The value of this attribute is an NSNumber object containing a float. For RTF files only, stores the version of Cocoa with which the file was created. Absence of this value indicates RTF file not created by Cocoa or its predecessors.

let NSCollection​Element​Kind​Inter​Item​Gap​Indicator:​ String

The element kind string assigned to the attributes object when it represents an inter-item gap.

let NSCollection​Element​Kind​Section​Footer:​ String

A supplementary view that acts as a footer for a given section.

let NSCollection​Element​Kind​Section​Header:​ String

A supplementary view that acts as a header for a given section.

let NSColor​List​Mode​Color​Panel:​ NSColor​Panel​Mode
let NSCommand​Key​Mask:​ NSEvent​Modifier​Flags

Set if Command key is pressed.

Deprecated
let NSComment​Document​Attribute:​ String

The value of this attribute is an NSString object containing document comments.

let NSCompany​Document​Attribute:​ String

The value of this attribute is an NSString object containing company or organization name.

let NSComposite​Destination​Atop:​ NSCompositing​Operation

Destination image wherever both images are opaque, source image wherever source image is opaque but destination image is transparent, and transparent elsewhere. (R = S*(1 - Da) + D*Sa)

Deprecated
let NSComposite​Destination​In:​ NSCompositing​Operation

Destination image wherever both images are opaque, and transparent elsewhere. (R = D*Sa)

Deprecated
let NSComposite​Destination​Out:​ NSCompositing​Operation

Destination image wherever destination image is opaque but source image is transparent, and transparent elsewhere. (R = D*(1 - Sa))

Deprecated
let NSComposite​Destination​Over:​ NSCompositing​Operation

Destination image wherever destination image is opaque, and source image elsewhere. (R = S*(1 - Da) + D)

Deprecated
let NSComposite​Plus​Darker:​ NSCompositing​Operation

Sum of source and destination images, with color values approaching 0 as a limit. (R = MAX(0, (1 - D) + (1 - S)))

Deprecated
let NSComposite​Plus​Lighter:​ NSCompositing​Operation

Sum of source and destination images, with color values approaching 1 as a limit. (R = MIN(1, S + D))

Deprecated
let NSComposite​Source​Atop:​ NSCompositing​Operation

Source image wherever both images are opaque, destination image wherever destination image is opaque but source image is transparent, and transparent elsewhere. (R = S*Da + D*(1 - Sa))

Deprecated
let NSComposite​Source​In:​ NSCompositing​Operation

Source image wherever both images are opaque, and transparent elsewhere. (R = S*Da)

Deprecated
let NSComposite​Source​Out:​ NSCompositing​Operation

Source image wherever source image is opaque but destination image is transparent, and transparent elsewhere. (R = S*(1 - Da))

Deprecated
let NSComposite​Source​Over:​ NSCompositing​Operation

Source image wherever source image is opaque, and destination image elsewhere. (R = S + D*(1 - Sa))

Deprecated
let NSComposite​XOR:​ NSCompositing​Operation

Exclusive OR of source and destination images. (R = S*(1 - Da) + D*(1 - Sa))

Deprecated
let NSControl​Key​Mask:​ NSEvent​Modifier​Flags

Set if Control key is pressed.

Deprecated
let NSConverted​Document​Attribute:​ String

The value of this attribute is an NSNumber object containing an int. Indicates whether the file was converted by a filter service.

let NSCopyright​Document​Attribute:​ String

The value of this attribute is an NSString object containing document copyright info.

let NSCrayon​Mode​Color​Panel:​ NSColor​Panel​Mode
let NSCreation​Time​Document​Attribute:​ String

The value of this attribute is an NSDate object containing the creation date of the document; note that this is not the file system creation date of the file, but of the document.

let NSCursor​Attribute​Name:​ String

The value of this attribute is an NSCursor object. The default value is the cursor returned by the i​Beam() method

let NSCursor​Pointing​Device:​ NSPointing​Device​Type

Represents a cursor (or puck-like) pointing device.

Deprecated
let NSCustom​Palette​Mode​Color​Panel:​ NSColor​Panel​Modelet NSDefault​Attributes​Document​Attribute:​ String
let NSDefault​Attributes​Document​Option:​ String

For plain text documents; NSDictionary containing attributes to be applied to plain files. Previous string constant was @"Default​Attributes".

let NSDefault​Tab​Interval​Document​Attribute:​ String

The value of this attribute is an NSNumber object containing a float. Represents the document-wide default tab stop interval.

let NSDefault​Token​Style:​ NSToken​Style
let NSDefinition​Presentation​Type​Dictionary​Application:​ String

A possible value of the NSDefinition​Presentation​Type​Key dictionary key that invokes Dictionary application to display the definition.

let NSDefinition​Presentation​Type​Key:​ String

An optional key in the options dictionary that specifies the presentation type of the definition display. It can have a value of NSDefinition​Presentation​Type​Overlay or NSDefinition​Presentation​Type​Dictionary​Application.

let NSDefinition​Presentation​Type​Overlay:​ String

A possible value of the NSDefinition​Presentation​Type​Key dictionary key that produces a small overlay window at the string location,

let NSDevice​Bits​Per​Sample:​ String

The corresponding value is an NSNumber object containing an integer that gives the bit depth of the window’s raster image (2-bit, 8-bit, and so forth).

let NSDevice​Color​Space​Name:​ String

The corresponding value is an NSString object giving the name of the window’s color space.

let NSDevice​Independent​Modifier​Flags​Mask:​ NSEvent​Modifier​Flags

Used to retrieve only the device-independent modifier flags, allowing applications to mask off the device-dependent modifier flags, including event coalescing information.

Deprecated
let NSDevice​Is​Printer:​ String

If there is a corresponding value, this indicates that the display device is a printer.

let NSDevice​Is​Screen:​ String

If there is a corresponding value, this indicates that the display device is a screen.

let NSDevice​NColor​Space​Model:​ NSColor​Space​Model
let NSDevice​Resolution:​ String

The corresponding value is an NSValue object containing a value of type NSSize that describes the window’s raster resolution in dots per inch (dpi).

let NSDevice​Size:​ String

The corresponding value is an NSValue object containing a value of type NSSize that gives the size of the window’s frame rectangle.

let NSDoc​Modal​Window​Mask:​ NSWindow​Style​Mask

The panel is created as a modal sheet.

Deprecated
let NSDocument​Type​Document​Attribute:​ String
let NSDocument​Type​Document​Option:​ String

One of the document types described in Document Types, indicating a document type to be forced when loading the document. Previous string constant was @"Document​Type".

let NSDrag​Pboard:​ String

The pasteboard that stores data to be moved as the result of a drag operation.

let NSDragging​Image​Component​Icon​Key:​ String

Key with a corresponding value that is an image of the item being dragged.

let NSDragging​Image​Component​Label​Key:​ String

Key with a corresponding value that represents a textual label associate with the item, for example, a file name.

let NSEditor​Document​Attribute:​ String

The value of this attribute is an NSString object containing name of person who last edited the document.

let NSEraser​Pointing​Device:​ NSPointing​Device​Type

Represents the eraser end of a stylus-like pointing device.

Deprecated
var NSEvent​Duration​Forever:​ Double
let NSExcluded​Elements​Document​Attribute:​ String

An NSArray object containing NSString objects, representing HTML elements not to be used in generated HTML.

let NSExpansion​Attribute​Name:​ String
let NSFile​Contents​Pboard​Type:​ String

A representation of a file’s contents.

let NSFile​Type​Document​Attribute:​ String

The value of this attribute is an NSString object indicating which document type was used to interpret the document, specified as a UTI; for reading, this is available along with NSDocument​Type​Document​Attribute, but for writing the two are mutually exclusive.

let NSFile​Type​Document​Option:​ String

The value of this attribute is an NSString object indicating a document type to be forced when loading the document, specified as a UTI string; mutually exclusive with NSDocument​Type​Document​Option.

let NSFilenames​Pboard​Type:​ String

An array of NSString objects designating one or more filenames.

let NSFind​Panel​Case​Insensitive​Search:​ String

Boolean value specifying whether the search is case-insensitive. true specifies a case-insensitive search; otherwise, false.

let NSFind​Panel​Search​Options​Pboard​Type:​ String

Type for NSFind​Panel metadata property list. Used with the NSPaste​Board method property​List(for​Type:​).

let NSFind​Pboard:​ String

The pasteboard that holds information about the current state of the active application’s find panel.

let NSFloating​Point​Samples​Bitmap​Format:​ NSBitmap​Format

A format where samples are specified using floating-point numbers. (If this option is not specified, samples are integer values.)

let NSFont​Attribute​Name:​ String
let NSFont​Cascade​List​Attribute:​ String

An NSArray instance—each member of the array is a sub-descriptor.

let NSFont​Character​Set​Attribute:​ String

An NSCharacter​Set instance that represents the set of Unicode characters covered by the font.

let NSFont​Collection​Action​Key:​ String

An action was taken. See NSFontCollectionAction Key Values for the possible values. An NSString.

let NSFont​Collection​Disallow​Auto​Activation​Option:​ String

An NSNumber object containing a Boolean value specifying that auto-activation should not be used to find missing fonts.

let NSFont​Collection​Favorites:​ String

Font collection of the user's preferred font descriptors.

let NSFont​Collection​Include​Disabled​Fonts​Option:​ String

An NSNumber object containing a Boolean value specifying whether disabled fonts should be included in the list of matching descriptors; true if they should be included, false otherwise.. When unspecified, CoreText assumes false. This option is intended only for font management applications. This option will make descriptor matching slower.

let NSFont​Collection​Name​Key:​ String

The font collection’s name. If renamed, this is the new name. An NSString.

let NSFont​Collection​Old​Name​Key:​ String

Included as a value for the NSFont​Collection​Old​Name​Key key, if present. This is the previous name. An NSString.

let NSFont​Collection​Recently​Used:​ String

Font collection automatically maintained by NSFontManager.

let NSFont​Collection​Remove​Duplicates​Option:​ String

An NSNumber object containing a Boolean value controlling whether more than one copy of a font with the same PostScript name should be included in the list of matching descriptors.

let NSFont​Collection​User:​ String

Per-user unmodifiable collection.

let NSFont​Collection​Visibility​Key:​ String

The visibly of the font collection. An NSNumber containing a value from the NSFont​Collection​Visibility enum.

let NSFont​Face​Attribute:​ String

An optional NSString object that specifies the font face.

let NSFont​Family​Attribute:​ String

An optional NSString object that specifies the font family.

let NSFont​Feature​Selector​Identifier​Key:​ String

An NSNumber object specifying a font feature selector such as common ligature off, traditional character shape, and so on. See “Font Features“ in ATSUI Programming Guide for predefined feature selectors.

let NSFont​Feature​Settings​Attribute:​ String
let NSFont​Feature​Type​Identifier​Key:​ String

An NSNumber object specifying a font feature type such as ligature, character shape, and so on. See “Font Features“ in ATSUI Programming Guide for predefined feature types.

let NSFont​Fixed​Advance​Attribute:​ String

An NSNumber instance containing a float value that overrides the glyph advancement specified by the font.

let NSFont​Matrix​Attribute:​ String

An NSAffine​Transform instance that specifies the font’s transformation matrix.

let NSFont​Name​Attribute:​ String

An optional NSString object that specifies the font name.

let NSFont​Pboard:​ String

The pasteboard that holds font and character information and supports Copy Font and Paste Font commands that may be implemented in a text editor.

let NSFont​Pboard​Type:​ String

Font and character information.

let NSFont​Size​Attribute:​ String

An optional NSNumber object, containing a float value, that specifies the font size.

let NSFont​Slant​Trait:​ String

The relative slant angle value as an NSNumber object.

let NSFont​Symbolic​Trait:​ String

The symbolic traits value as an NSNumber object.

let NSFont​Traits​Attribute:​ String

An NSDictionary instance instance fully describing font traits.

let NSFont​Variation​Attribute:​ String

An NSDictionary instance that describes the font’s variation axis.

let NSFont​Variation​Axis​Default​Value​Key:​ String

The default axis value as an NSNumber object.

let NSFont​Variation​Axis​Identifier​Key:​ String

The axis identifier value as an NSNumber object.

let NSFont​Variation​Axis​Maximum​Value​Key:​ String

The maximum axis value as an NSNumber object.

let NSFont​Variation​Axis​Minimum​Value​Key:​ String

The minimum axis value as an NSNumber object.

let NSFont​Visible​Name​Attribute:​ String

An optional NSString object that specifies the font’s visible name.

let NSFont​Weight​Black:​ CGFloatlet NSFont​Weight​Bold:​ CGFloatlet NSFont​Weight​Heavy:​ CGFloatlet NSFont​Weight​Light:​ CGFloatlet NSFont​Weight​Medium:​ CGFloatlet NSFont​Weight​Regular:​ CGFloatlet NSFont​Weight​Semibold:​ CGFloatlet NSFont​Weight​Thin:​ CGFloat
let NSFont​Weight​Trait:​ String

The normalized weight value as an NSNumber object.

let NSFont​Weight​Ultra​Light:​ CGFloat
let NSFont​Width​Trait:​ String

The relative inter-glyph spacing value as an NSNumber object.

let NSForeground​Color​Attribute​Name:​ String
let NSFull​Screen​Mode​All​Screens:​ String

Key whose corresponding value specifies whether the view should take over all screens.

let NSFull​Screen​Mode​Application​Presentation​Options:​ String

Key whose corresponding value specifies the application presentation options.

let NSFull​Screen​Mode​Setting:​ String

Key whose corresponding value specifies the the full screen mode setting.

let NSFull​Screen​Mode​Window​Level:​ String

Key whose corresponding value specifies the screen mode window level.

let NSFull​Screen​Window​Mask:​ NSWindow​Style​Mask

The window can appear full screen. A fullscreen window does not draw its title bar, and may have special handling for its toolbar. This mask is automatically toggled when toggle​Full​Screen(_:​) is called.

Deprecated
let NSFull​Size​Content​View​Window​Mask:​ NSWindow​Style​Mask

When set, the content view consumes the full size of the window; it can be combined with other window style masks, but is only respected for windows with a title bar. Using this mask opts in to layer backing. Use the content​Layout​Rect or content​Layout​Guide to lay out views underneath the title bar-toolbar area.

Deprecated
let NSGIFFile​Type:​ NSBitmap​Image​File​Type

Graphics Image Format (GIF), originally created by CompuServe for online downloads

let NSGeneral​Pboard:​ String

The pasteboard that’s used for ordinary cut, copy, and paste operations.

let NSGlyph​Info​Attribute​Name:​ String

The name of an NSGlyph​Info object.

let NSGraphics​Context​Destination​Attribute​Name:​ String

Can be an instance of NSWindow or NSBitmap​Image​Rep when creating a graphics context.

let NSGraphics​Context​PSFormat:​ String

Destination file format is PostScript.

let NSGray​Color​Space​Model:​ NSColor​Space​Modellet NSGray​Mode​Color​Panel:​ NSColor​Panel​Modelet NSGrid​View​Size​For​Content:​ CGFloatlet NSHSBMode​Color​Panel:​ NSColor​Panel​Mode
let NSHTMLPboard​Type:​ String

HTML (which an NSText​View object can read from, but not write to).

let NSHTMLText​Document​Type:​ String

Hypertext Markup Language (HTML) document.

let NSHUDWindow​Mask:​ NSWindow​Style​Mask

The panel is created as a transparent panel (sometimes called a “heads-up display”).

Deprecated
let NSHelp​Key​Mask:​ NSEvent​Modifier​Flags

Set if the Help key is pressed.

Deprecated
let NSHyphenation​Factor​Document​Attribute:​ String

The value of this attribute is an NSNumber object containing a float; 0 = off, 1 = full hyphenation.

let NSImage​Color​Sync​Profile​Data:​ String

Identifies an NSData object containing the ColorSync profile data.

let NSImage​Compression​Factor:​ String

Identifies an NSNumber object containing the compression factor of the image.

let NSImage​Compression​Method:​ String

Identifies an NSNumber object identifying the compression method of the image.

let NSImage​Current​Frame:​ String

Identifies an NSNumber object containing the current frame for an animated GIF file.

let NSImage​Current​Frame​Duration:​ String

Identifies an NSNumber object containing the duration (in seconds) of the current frame for an animated GIF image.

let NSImage​Dither​Transparency:​ String

Identifies an NSNumber object containing a boolean that indicates whether the image is dithered.

let NSImage​EXIFData:​ String

Identifies an NSDictionary object containing the EXIF data for the image.

let NSImage​Fallback​Background​Color:​ String

Specifies the background color to use when writing to an image format (such as JPEG) that doesn't support alpha. The color's alpha value is ignored. The default background color, when this property is not specified, is white. The value of the property should be an NSColor object. This constant corresponds to the kCGImageDestinationBackgroundColor constant in Quartz.

let NSImage​Frame​Count:​ String

Identifies an NSNumber object containing the number of frames in an animated GIF file.

let NSImage​Gamma:​ String

Identifies an NSNumber object containing the gamma value for the image.

let NSImage​Hint​CTM:​ String

Provides a context transform hint.

let NSImage​Hint​Interpolation:​ String

Provides an interpolation hint.

let NSImage​Interlaced:​ String

Identifies an NSNumber object containing a Boolean value that indicates whether the image is interlaced.

let NSImage​Loop​Count:​ String

Identifies an NSNumber object containing the number of loops to make when animating a GIF image.

let NSImage​Name​Advanced:​ String

Advanced preferences toolbar icon. Use in a preferences window only.

NSImageNameAdvanced

let NSImage​Name​Bookmarks​Template:​ String

Bookmarks image suitable for a template.

let NSImage​Name​Everyone:​ String

Permissions for all users.

NSImageNameEveryone

let NSImage​Name​Flow​View​Template:​ String

A cover flow view mode template image.

NSImageNameFlowViewTemplate

let NSImage​Name​Follow​Link​Freestanding​Template:​ String

A link template image. You can use this image to implement a borderless button.

NSImageNameFollowLinkFreestandingTemplate

let NSImage​Name​Go​Back​Template:​ Stringlet NSImage​Name​Go​Forward​Template:​ String
let NSImage​Name​Home​Template:​ String

Home image suitable for a template.

let NSImage​Name​Info:​ String

An information toolbar icon.

NSImageNameInfo

let NSImage​Name​Invalid​Data​Freestanding​Template:​ String

An invalid data template image. Place this icon to the right of any fields containing invalid data. You can use this image to implement a borderless button.

NSImageNameInvalidDataFreestandingTemplate

let NSImage​Name​Left​Facing​Triangle​Template:​ String

A generic left-facing triangle template image.

NSImageNameLeftFacingTriangleTemplate

let NSImage​Name​Lock​Locked​Template:​ String

A locked lock template image. Use to indicate locked content.

NSImageNameLockLockedTemplate

let NSImage​Name​Lock​Unlocked​Template:​ String

An unlocked lock template image. Use to indicate modifiable content that can be locked.

NSImageNameLockUnlockedTemplate

let NSImage​Name​Menu​Mixed​State​Template:​ String

A horizontal dash. Drawing these outside of menus is discouraged.

let NSImage​Name​Menu​On​State​Template:​ String

A check mark. Drawing these outside of menus is discouraged.

let NSImage​Name​Mobile​Me:​ String

MobileMe logo. Note that this is preferred to using the NSImage​Name​Dot​Mac image, although that image is not expected to be deprecated.

let NSImage​Name​Preferences​General:​ String

General preferences toolbar icon. Use in a preferences window only.

NSImageNamePreferencesGeneral

let NSImage​Name​Refresh​Freestanding​Template:​ String

A refresh template image. You can use this image to implement a borderless button.

NSImageNameRefreshFreestandingTemplate

let NSImage​Name​Reveal​Freestanding​Template:​ String

A reveal contents template image. You can use this image to implement a borderless button.

NSImageNameRevealFreestandingTemplate

let NSImage​Name​Right​Facing​Triangle​Template:​ String

A generic right-facing triangle template image.

NSImageNameRightFacingTriangleTemplate

let NSImage​Name​Status​Available:​ String

Small green indicator, similar to iChat’s available image.

let NSImage​Name​Status​Partially​Available:​ String

Small yellow indicator, similar to iChat’s idle image.

let NSImage​Name​Status​Unavailable:​ String

Small red indicator, similar to iChat’s unavailable image.

let NSImage​Name​Stop​Progress​Freestanding​Template:​ String

A stop progress template image. You can use this image to implement a borderless button.

NSImageNameStopProgressFreestandingTemplate

let NSImage​Name​Stop​Progress​Template:​ String

A stop progress button template image.

NSImageNameStopProgressTemplate

let NSImage​Name​Touch​Bar​Add​Detail​Template:​ String

A Touch Bar template image for showing additional detail for an item.

let NSImage​Name​Touch​Bar​Add​Template:​ String

A Touch Bar template image for creating a new item.

let NSImage​Name​Touch​Bar​Alarm​Template:​ String

A Touch Bar template image for setting or showing an alarm.

let NSImage​Name​Touch​Bar​Audio​Input​Mute​Template:​ String

A Touch Bar template image for muting audio input or denoting that audio input is muted.

let NSImage​Name​Touch​Bar​Audio​Input​Template:​ String

A Touch Bar template image for denoting audio input.

let NSImage​Name​Touch​Bar​Audio​Output​Mute​Template:​ String

A Touch Bar template image for muting audio output or for denoting that audio output is muted.

let NSImage​Name​Touch​Bar​Audio​Output​Volume​High​Template:​ String

A Touch Bar template image for setting the audio output volume to a high level, or for denoting that it is set to a high level.

let NSImage​Name​Touch​Bar​Audio​Output​Volume​Low​Template:​ String

A Touch Bar template image for setting the audio output volume to a low level, or for denoting that it is set to a low level.

let NSImage​Name​Touch​Bar​Audio​Output​Volume​Medium​Template:​ String

A Touch Bar template image for setting the audio output volume to a medium level, or for denoting that it is set to a medium level.

let NSImage​Name​Touch​Bar​Audio​Output​Volume​Off​Template:​ String

A Touch Bar template image for setting the audio output volume to silent, or for denoting that it is set to silent.

let NSImage​Name​Touch​Bar​Bookmarks​Template:​ String

A Touch Bar template image for showing app-specific bookmarks.

let NSImage​Name​Touch​Bar​Color​Picker​Fill:​ String

A Touch Bar template image for showing a color picker so the user can select a fill color.

let NSImage​Name​Touch​Bar​Color​Picker​Font:​ String

A Touch Bar template image for showing a color picker so the user can select a text color.

let NSImage​Name​Touch​Bar​Color​Picker​Stroke:​ String

A Touch Bar template image for showing a color picker so the user can select a stroke color.

let NSImage​Name​Touch​Bar​Communication​Audio​Template:​ String

A Touch Bar template image for initiating or denoting audio communication.

let NSImage​Name​Touch​Bar​Communication​Video​Template:​ String

A Touch Bar template image for initiating or denoting video communication.

let NSImage​Name​Touch​Bar​Compose​Template:​ String

A Touch Bar template image for opening a new document or view in edit mode.

let NSImage​Name​Touch​Bar​Delete​Template:​ String

A Touch Bar template image for deleting the current or selected item.

let NSImage​Name​Touch​Bar​Download​Template:​ String

A Touch Bar template image for downloading an item.

let NSImage​Name​Touch​Bar​Enter​Full​Screen​Template:​ String

A Touch Bar template image for entering full screen mode.

let NSImage​Name​Touch​Bar​Exit​Full​Screen​Template:​ String

A Touch Bar template image for exiting full screen mode.

let NSImage​Name​Touch​Bar​Fast​Forward​Template:​ String

A Touch Bar template image for moving forward through media playback or slides.

let NSImage​Name​Touch​Bar​Folder​Copy​To​Template:​ String

A Touch Bar template image for copying an item to a destination.

let NSImage​Name​Touch​Bar​Folder​Move​To​Template:​ String

A Touch Bar template image for moving an item to a destination.

let NSImage​Name​Touch​Bar​Folder​Template:​ String

A Touch Bar template image for opening or representing a folder.

let NSImage​Name​Touch​Bar​Get​Info​Template:​ String

A Touch Bar template image for showing information about an item.

let NSImage​Name​Touch​Bar​Go​Back​Template:​ String

A Touch Bar template image for returning to the previous screen or location.

let NSImage​Name​Touch​Bar​Go​Down​Template:​ String

A Touch Bar template image for moving to the next item in a list.

let NSImage​Name​Touch​Bar​Go​Forward​Template:​ String

A Touch Bar template image for moving to the next screen or location.

let NSImage​Name​Touch​Bar​Go​Up​Template:​ String

A Touch Bar template image for moving to the previous item in a list.

let NSImage​Name​Touch​Bar​History​Template:​ String

A Touch Bar template image for showing history information, such as recent downloads.

let NSImage​Name​Touch​Bar​Icon​View​Template:​ String

A Touch Bar template image for showing items in an icon view.

let NSImage​Name​Touch​Bar​List​View​Template:​ String

A Touch Bar template image for showing items in a list view.

let NSImage​Name​Touch​Bar​Mail​Template:​ String

A Touch Bar template image for creating an email message.

let NSImage​Name​Touch​Bar​New​Folder​Template:​ String

A Touch Bar template image for creating a new folder.

let NSImage​Name​Touch​Bar​New​Message​Template:​ String

A Touch Bar template image for creating a new message or for denoting the use of messaging.

let NSImage​Name​Touch​Bar​Open​In​Browser​Template:​ String

A Touch Bar template image for opening an item in the user’s browser.

let NSImage​Name​Touch​Bar​Pause​Template:​ String

A Touch Bar template image for pausing media playback or slides.

let NSImage​Name​Touch​Bar​Play​Pause​Template:​ String

A Touch Bar template image for toggling between playing and pausing media or slides.

let NSImage​Name​Touch​Bar​Play​Template:​ String

A Touch Bar template image for starting or resuming playback of media or slides.

let NSImage​Name​Touch​Bar​Playhead​Template:​ String
let NSImage​Name​Touch​Bar​Quick​Look​Template:​ String

A Touch Bar template image for opening an item in Quick Look.

let NSImage​Name​Touch​Bar​Record​Start​Template:​ String

A Touch Bar template image for starting recording.

let NSImage​Name​Touch​Bar​Record​Stop​Template:​ String

A Touch Bar template image for stopping recording or stopping playback of media or slides.

let NSImage​Name​Touch​Bar​Refresh​Template:​ String

A Touch Bar template image for refreshing displayed data.

let NSImage​Name​Touch​Bar​Rewind​Template:​ String

A Touch Bar template image for moving backwards through media or slides.

let NSImage​Name​Touch​Bar​Rotate​Left​Template:​ String

A Touch Bar template image for rotating an item counterclockwise.

let NSImage​Name​Touch​Bar​Rotate​Right​Template:​ String

A Touch Bar template image for rotating an item clockwise.

let NSImage​Name​Touch​Bar​Search​Template:​ String

A Touch Bar template image for showing a search field or for initiating a search.

let NSImage​Name​Touch​Bar​Share​Template:​ String

A Touch Bar template image for sharing content with others directly or via social media.

let NSImage​Name​Touch​Bar​Sidebar​Template:​ String

A Touch Bar template image for showing a sidebar in the current view.

let NSImage​Name​Touch​Bar​Skip​Ahead15Seconds​Template:​ String

A Touch Bar template image for skipping ahead 15 seconds during media playback.

let NSImage​Name​Touch​Bar​Skip​Ahead30Seconds​Template:​ String

A Touch Bar template image for skipping ahead 30 seconds during media playback.

let NSImage​Name​Touch​Bar​Skip​Ahead​Template:​ String

A Touch Bar template image for skipping to the next chapter or location during media playback.

let NSImage​Name​Touch​Bar​Skip​Back15Seconds​Template:​ String

A Touch Bar template image for skipping back 15 seconds during media playback.

let NSImage​Name​Touch​Bar​Skip​Back30Seconds​Template:​ String

A Touch Bar template image for skipping back 30 seconds during media playback.

let NSImage​Name​Touch​Bar​Skip​Back​Template:​ String

A Touch Bar template image for skipping to the previous chapter or location during media playback.

let NSImage​Name​Touch​Bar​Skip​To​End​Template:​ String

A Touch Bar template image for skipping to the end of media playback.

let NSImage​Name​Touch​Bar​Skip​To​Start​Template:​ String

A Touch Bar template image for skipping to the start of media playback.

let NSImage​Name​Touch​Bar​Slideshow​Template:​ String

A Touch Bar template image for starting a slideshow.

let NSImage​Name​Touch​Bar​Tag​Icon​Template:​ String

A Touch Bar template image for applying a tag to an item.

let NSImage​Name​Touch​Bar​Text​Bold​Template:​ String

A Touch Bar template image for making selected text bold.

let NSImage​Name​Touch​Bar​Text​Box​Template:​ String

A Touch Bar template image for inserting a text box.

let NSImage​Name​Touch​Bar​Text​Italic​Template:​ String

A Touch Bar template image for making selected text italic.

let NSImage​Name​Touch​Bar​Text​Left​Align​Template:​ String

A Touch Bar template image for aligning text to the left.

let NSImage​Name​Touch​Bar​Text​List​Template:​ String

A Touch Bar template image for inserting a list or converting text to list form.

let NSImage​Name​Touch​Bar​Text​Right​Align​Template:​ String

A Touch Bar template image for aligning text to the right

let NSImage​Name​Touch​Bar​Text​Strikethrough​Template:​ String

A Touch Bar template image for striking through text.

let NSImage​Name​Touch​Bar​User​Add​Template:​ String

A Touch Bar template image for creating a new user account.

let NSImage​Name​Touch​Bar​User​Group​Template:​ String

A Touch Bar template image for showing or representing a group of users.

let NSImage​Name​Touch​Bar​User​Template:​ String

A Touch Bar template image for showing or representing user information.

let NSImage​Name​Touch​Bar​Volume​Down​Template:​ String

A Touch Bar template image for reducing the audio output volume.

let NSImage​Name​Touch​Bar​Volume​Up​Template:​ String

A Touch Bar template image for increasing the audio output volume.

let NSImage​Name​Trash​Empty:​ String

An image of the empty trash can.

let NSImage​Name​Trash​Full:​ String

An image of the full trash can.

let NSImage​Name​User:​ String

Permissions for a single user.

NSImageNameUser

let NSImage​Name​User​Accounts:​ String

User account toolbar icon. Use in a preferences window only.

NSImageNameUserAccounts

let NSImage​Name​User​Group:​ String

Permissions for a group of users.

NSImageNameUserGroup

let NSImage​Progressive:​ String

Identifies an NSNumber object containing a boolean that indicates whether the image uses progressive encoding.

let NSImage​RGBColor​Table:​ String

Identifies an NSData object containing the RGB color table.

let NSIndexed​Color​Space​Model:​ NSColor​Space​Model

An indexed color space, which identifies specified discrete colors in a color list by index number. An indexed color value (a color specification in indexed color space) consists of an index value that refers to a color in a color list.

let NSInformational​Alert​Style:​ NSAlert​Style

An alert used to inform the user about a current or impending event.

Deprecated
let NSKern​Attribute​Name:​ String
let NSKeywords​Document​Attribute:​ String

The value of this attribute is an NSArray object containing NSString objects, containing keywords.

let NSLABColor​Space​Model:​ NSColor​Space​Model
let NSLayout​Priority​Default​High:​ NSLayout​Priority

Priority level with which a button resists compressing its content. Note that the level is higher than NSLayout​Priority​Window​Size​Stay​Put. This means dragging to resize a window will not make buttons clip, rather the window frame is constrained.

let NSLayout​Priority​Default​Low:​ NSLayout​Priority

Priority level at which a button hugs its contents horizontally.

let NSLayout​Priority​Drag​That​Can​Resize​Window:​ NSLayout​Priority

Appropriate priority level for a drag that may end up resizing the window. This drag does not need to explicitly resize the window. The user might be dragging around window contents, and it might be desirable for the window get bigger to accommodate those contents.

let NSLayout​Priority​Drag​That​Cannot​Resize​Window:​ NSLayout​Priority

Priority level at which a split view divider, say, is dragged. It won't resize the window.

let NSLayout​Priority​Fitting​Size​Compression:​ NSLayout​Priority

When you send a fitting​Size message to a view, the smallest size that is large enough for the view's contents is computed. This is the priority level with which the view wants to be as small as possible in that computation. It's quite low. It is generally not appropriate to make a constraint at exactly this priority. You want to be higher or lower.

let NSLayout​Priority​Required:​ NSLayout​Priority

A required constraint. Do not specify a layout constraint that exceeds this number.

let NSLayout​Priority​Window​Size​Stay​Put:​ NSLayout​Priority

Priority level for the window’s current size. It's generally not appropriate to make a constraint at exactly this priority. You want to be higher or lower. Constraints with higher priorities can adjust the window’s size. Constraints with lower priorities must be fulfilled using the current window size.

let NSLeft​Margin​Document​Attribute:​ String

The value of this attribute is an NSNumber object containing a float, in points.

let NSLigature​Attribute​Name:​ Stringlet NSLink​Attribute​Name:​ String
let NSManager​Document​Attribute:​ String

The value of this attribute is an NSString object containing the name of the author's manager.

let NSMarked​Clause​Segment​Attribute​Name:​ String
let NSMini​Control​Size:​ NSControl​Size

The control has a smaller size than NSSmall​Control​Size.

Deprecated
let NSMiniaturizable​Window​Mask:​ NSWindow​Style​Mask

The window displays a minimize button.

Deprecated
let NSModification​Time​Document​Attribute:​ String

The value of this attribute is an NSDate object containing the modification date of the document contents.

let NSMouse​Event​Subtype:​ NSEvent​Subtype

Indicates a purely mouse event.

Deprecated
let NSNonactivating​Panel​Mask:​ NSWindow​Style​Mask

The panel can receive keyboard input without activating the owning app.

Deprecated
let NSNumeric​Pad​Key​Mask:​ NSEvent​Modifier​Flags

Set if any key in the numeric keypad is pressed. The numeric keypad is generally on the right side of the keyboard. This is also set if any of the arrow keys are pressed (NSUp​Arrow​Function​Key, NSDown​Arrow​Function​Key, NSLeft​Arrow​Function​Key, and NSRight​Arrow​Function​Key).

Deprecated
var NSOPENGL_CURRENT_VERSION:​ Int32let NSObliqueness​Attribute​Name:​ Stringlet NSOffice​Open​XMLText​Document​Type:​ Stringlet NSOpen​Document​Text​Document​Type:​ String
let NSOpen​GLCPCurrent​Renderer​ID:​ NSOpen​GLContext​Parameter

The current renderer ID. You can get this setting.

let NSOpen​GLCPGPUFragment​Processing:​ NSOpen​GLContext​Parameter

The CPU is currently processing fragments with the GPU. You can get this state.

let NSOpen​GLCPGPUVertex​Processing:​ NSOpen​GLContext​Parameter

The CPU is currently processing vertices with the GPU. You can get this state.

let NSOpen​GLCPHas​Drawable:​ NSOpen​GLContext​Parameter

Returns a Boolean that indicates whether a drawable is attached to the context.

let NSOpen​GLCPMPSwaps​In​Flight:​ NSOpen​GLContext​Parameter

The number of frames that the multithreaded OpenGL engine can process before stalling. The default value is 1. New frames are queued when the application calls the flush​Buffer() method. A larger number may improve overall performance, but adds latency between when a frame is rendered and when a frame is displayed. Interactive applications should leave this value at the default.

let NSOpen​GLCPRasterization​Enable:​ NSOpen​GLContext​Parameter

If disabled, all rasterization of 2D and 3D primitives is disabled.

let NSOpen​GLCPState​Validation:​ NSOpen​GLContext​Parameter

If enabled, OpenGL inspects the context state each time the update() method is called to ensure that it is in an appropriate state for switching between renderers.

let NSOpen​GLCPSurface​Backing​Size:​ NSOpen​GLContext​Parameter

Set or get the height and width of the back buffer. You can use this to let the system scale an image automatically on swapping to a variable-size buffer. The back buffer size remains fixed at the size that you set up regardless of whether the image is resized to display larger onscreen.

let NSOpen​GLCPSurface​Surface​Volatile:​ NSOpen​GLContext​Parameter
let NSOpen​GLCPSwap​Rectangle​Enable:​ NSOpen​GLContext​Parameter

Enables or disables the swap rectangle in the context’s drawable object.

var NSOpen​GLGORetain​Renderers:​ NSOpen​GLGlobal​Option

Whether to retain loaded renderers in memory.

var NSOpen​GLGOUse​Build​Cache:​ NSOpen​GLGlobal​Option

Whether to enable the function compilation block cache. This is off by default. It must be enabled at startup.

let NSPNGFile​Type:​ NSBitmap​Image​File​Type

Portable Network Graphics (PNG) format

let NSPaper​Size​Document​Attribute:​ String

The value of this attribute is an NSValue object containing NSSize.

let NSParagraph​Style​Attribute​Name:​ String
let NSPasteboard​Type​Find​Panel​Search​Options:​ String

Type for the Find panel metadata property list.

let NSPasteboard​Type​Font:​ String

Font and character information.

let NSPasteboard​Type​RTF:​ String

Rich Text Format (RTF) data.

let NSPasteboard​Type​RTFD:​ String

RTFD formatted file contents.

let NSPasteboard​Type​Ruler:​ String

Paragraph formatting information.

let NSPasteboard​Type​String:​ String
let NSPasteboard​Type​TIFF:​ String

Tag Image File Format (TIFF) data.

let NSPasteboard​Type​Tabular​Text:​ String

An NSString object containing tab-separated fields of text.

let NSPasteboard​Type​Text​Finder​Options:​ String

Type for the Find panel metadata property list..

let NSPasteboard​URLReading​Contents​Conform​To​Types​Key:​ String

Option for reading URLs to restrict the results to URLs with contents that conform to any of the provided UTI types.

let NSPasteboard​URLReading​File​URLs​Only​Key:​ String

Option for reading URLs to restrict the results to file URLs only.

let NSPattern​Color​Space​Model:​ NSColor​Space​Model

Identifies a pattern color space, which is simply an image that is repeated over and over again in a tiled pattern.

let NSPen​Lower​Side​Mask:​ NSEvent​Button​Mask

The button on the lower side of the device is activated.

Deprecated
let NSPen​Pointing​Device:​ NSPointing​Device​Type

Represents the tip end of a stylus-like pointing device.

Deprecated
let NSPen​Upper​Side​Mask:​ NSEvent​Button​Mask

The button on the upper side of the device is activated.

Deprecated
let NSPlain​Text​Token​Style:​ NSToken​Style
let NSPopover​Close​Reason​Detach​To​Window:​ String

Specifies that the popover has been closed because it is being detached to a window.

let NSPopover​Close​Reason​Key:​ String

The userInfo key containing the reason for the NSPopover​Will​Close.

let NSPopover​Close​Reason​Standard:​ String

Specifies that the popover has been closed in a standard way.

let NSPost​Script​Pboard​Type:​ String

Encapsulated PostScript (EPS) code.

let NSPower​Off​Event​Type:​ NSEvent​Subtype

Specifies that the user is turning off the computer.

Deprecated
let NSPrefix​Spaces​Document​Attribute:​ String

An NSNumber object containing an integer (default 0) representing the number of spaces per level by which to indent certain nested HTML elements.

let NSPrint​All​Pages:​ String

An NSNumber object containing a Boolean value—if true, includes all pages in output.

let NSPrint​All​Presets​Job​Style​Hint:​ String

Output appropriate to all graphics types. Equivalent to Core Printing’s k​PMPreset​Graphics​Type​All.

let NSPrint​Bottom​Margin:​ String

NSNumber, containing a floating-point value that specifies the bottom margin, in points.

let NSPrint​Copies:​ String

An NSNumber object containing an integer—the number of copies to spool.

let NSPrint​Detailed​Error​Reporting:​ String

An NSNumber object containing a Boolean value—if true, produce detailed reports when an error occurs.

let NSPrint​Fax​Number:​ String

An NSString object that specifies a fax number.

let NSPrint​First​Page:​ String

An NSNumber object containing an integer value that specifies the first page in the print job.

let NSPrint​Header​And​Footer:​ String

An NSNumber object containing a Boolean value—if true, a standard header and footer are added outside the margins of each page.

let NSPrint​Horizontal​Pagination:​ String

NSNumber, containing a NSPrinting​Pagination​Mode value.

let NSPrint​Horizontally​Centered:​ String

NSNumber, containing a Boolean value that is true if pages are centered horizontally.

let NSPrint​Job​Disposition:​ String

An NSString object that specifies the job disposition.

let NSPrint​Job​Saving​File​Name​Extension​Hidden:​ String

A boolean NSNumber indicating whether the job’s file name extension should be hidden when the job​Disposition is NSPrint​Save​Job. The default is false.

let NSPrint​Job​Saving​URL:​ String

An NSURL containing the location to which the job file will be saved when the job​Disposition is NSPrint​Save​Job.

let NSPrint​Last​Page:​ String

An NSNumber object containing an integer value that specifies the last page in the print job.

let NSPrint​Left​Margin:​ String

NSNumber, containing a floating-point value that specifies the left margin, in points.

let NSPrint​Must​Collate:​ String

An NSNumber object containing a Boolean value—if true, collates output.

let NSPrint​No​Presets​Job​Style​Hint:​ String

Output excludes all graphics printing. Equivalent to Core Printing’s k​PMPreset​Graphics​Type​None.

let NSPrint​Orientation:​ String

An NSNumber object containing an NSPrinting​Orientation.

let NSPrint​Pages​Across:​ String

An NSNumber object that specifies the number of logical pages to be tiled horizontally on a physical sheet of paper.

let NSPrint​Pages​Down:​ String

An NSNumber object that specifies the number of logical pages to be tiled vertically on a physical sheet of paper.

let NSPrint​Panel​Accessory​Summary​Item​Description​Key:​ String

Used as a key to identify the current value of the accessory panel setting. The corresponding value should be an NSString object.

let NSPrint​Panel​Accessory​Summary​Item​Name​Key:​ String

Used as a key to specify the name of the accessory panel setting. The corresponding value should be an NSString object.

let NSPrint​Paper​Name:​ String

An NSString object containing the paper name.

let NSPrint​Paper​Size:​ String

An NSSize value specifying the height and width of paper in points.

let NSPrint​Photo​Job​Style​Hint:​ String

Output contains photographic data.

let NSPrint​Preview​Job:​ String

Send to Preview application.

let NSPrint​Printer:​ String

An NSPrinter object—the printer to use.

let NSPrint​Printer​Name:​ String

An NSString object that specifies the name of a printer.

let NSPrint​Reverse​Page​Order:​ String

An NSNumber object containing a Boolean value—if true, prints first page last.

let NSPrint​Right​Margin:​ String

NSNumber, containing a floating-point value that specifies the right margin, in points.

let NSPrint​Scaling​Factor:​ String

Scale factor percentage before pagination.

let NSPrint​Selection​Only:​ String

An NSNumber object containing a Boolean value—if true only the current selection is printed.

let NSPrint​Time:​ String

An NSDate object that specifies the time at which printing should begin.

let NSPrint​Top​Margin:​ String

NSNumber, containing a floating-point value that specifies the top margin, in points.

let NSPrint​Vertical​Pagination:​ String

NSNumber, containing a NSPrinting​Pagination​Mode value.

let NSPrint​Vertically​Centered:​ String

NSNumber, containing a Boolean value that is true if pages are centered vertically.

let NSRGBColor​Space​Model:​ NSColor​Space​Modellet NSRGBMode​Color​Panel:​ NSColor​Panel​Mode
let NSRTFDPboard​Type:​ String

RTFD formatted file contents.

let NSRTFDText​Document​Type:​ String

Rich text format with attachments document.

let NSRTFPboard​Type:​ String

Rich Text Format (RTF) data.

let NSRead​Only​Document​Attribute:​ String

The value of this attribute is an NSNumber object containing an integer. If missing or 0 or negative, not read only; 1 or more, read only.

let NSRegular​Control​Size:​ NSControl​Size

The control is sized as regular.

Deprecated
let NSResizable​Window​Mask:​ NSWindow​Style​Mask

The window displays a resize control.

Deprecated
let NSRight​Margin​Document​Attribute:​ String

The value of this attribute is an NSNumber object containing a float, in points.

let NSRounded​Token​Style:​ NSToken​Style
let NSRule​Editor​Predicate​Comparison​Modifier:​ String

The corresponding value is an NSNumber object representing a NSComparison​Predicate.Modifier constant the of the predicate.

let NSRule​Editor​Predicate​Compound​Type:​ String

The corresponding value is an NSNumber object representing a NSCompound​Predicate.Logical​Type constant.

let NSRule​Editor​Predicate​Custom​Selector:​ String

The corresponding value is an NSString object representing a custom selector.

let NSRule​Editor​Predicate​Left​Expression:​ String

The corresponding value is an NSExpression object representing the left expression in the predicate.

let NSRule​Editor​Predicate​Operator​Type:​ String

The corresponding value is an NSNumber object representing a NSComparison​Predicate.Operator constant.

let NSRule​Editor​Predicate​Options:​ String

The corresponding value is an NSNumber object representing a NSComparisonPredicate_Optionsbitfield.

let NSRule​Editor​Predicate​Right​Expression:​ String

The corresponding value is an NSExpression object representing the right expression in the predicate.

let NSRuler​Pboard:​ String

The pasteboard that holds information about paragraph formats in support of the Copy Ruler and Paste Ruler commands that may be implemented in a text editor.

let NSRuler​Pboard​Type:​ String

Paragraph formatting information.

let NSScreen​Changed​Event​Type:​ NSEvent​Subtype

An NSWindow has changed screens.

Deprecated
var NSSearch​Field​Clear​Recents​Menu​Item​Tag:​ Int32

Identifies the menu item for clearing the current set of recent string searches in the menu.

var NSSearch​Field​No​Recents​Menu​Item​Tag:​ Int32

Identifies the menu item that describes a lack of recent search strings (for example, “No recent searches”).

var NSSearch​Field​Recents​Menu​Item​Tag:​ Int32

Identifies where recent search strings should appear in the “recents” menu group.

var NSSearch​Field​Recents​Title​Menu​Item​Tag:​ Int32

Identifies the menu item that is the title of the menu group for recent search strings.

let NSShadow​Attribute​Name:​ Stringlet NSSharing​Service​Name​Cloud​Sharing:​ String
let NSSharing​Service​Name​Compose​Email:​ String

Creates an email messages with the content.

let NSSharing​Service​Name​Compose​Message:​ String

Creates a Messages methods with the content.

let NSSharing​Service​Name​Post​On​Sina​Weibo:​ String

Posts the content on a Sina Weibo, Chinese microblogging (weibo) website. Akin to a hybrid of Twitter and Facebook.

let NSSharing​Service​Name​Post​On​Tencent​Weibo:​ String

Posts the content on a Tencent Weibo, Chinese microblogging (weibo) website.

let NSSharing​Service​Name​Post​Video​On​Tudou:​ String

Posts the video on the video sharing service Tudou, based in the People's Republic of China.

let NSSharing​Service​Name​Post​Video​On​Youku:​ String

Posts the video on the video sharing service Youku, based in the People's Republic of China.

let NSSharing​Service​Name​Use​As​Desktop​Picture:​ String

Replaces the user’s desktop image with the content.

let NSSharing​Service​Name​Use​As​Facebook​Profile​Image:​ String

Replaces the user’s Facebook profile image with the provided image.

let NSSharing​Service​Name​Use​As​Twitter​Profile​Image:​ String

Replaces the user’s Twitter profile image with the provided image.

let NSSmall​Control​Size:​ NSControl​Size

The control has a smaller size.

Deprecated
let NSSpeech​Character​Mode​Property:​ String

Get or set the synthesizer’s current text-processing mode. An NSString object that specifies whether the channel is currently in text input mode or phoneme input mode.The supported values are listed in Speaking Modes for NSSpeechInputModeProperty.

let NSSpeech​Command​Delimiter​Property:​ String

Set the embedded speech command delimiter characters to be used for the synthesizer. An NSDictionary object that contains the delimiter information. See “Command Delimiter Keys” for the keys you can use to specify values in this dictionary.

let NSSpeech​Command​Prefix:​ String

The command delimiter string that prefixes a command, by default, this is [[.

let NSSpeech​Command​Suffix:​ String

The command delimiter string that suffixes a command,by default, this is ]].

let NSSpeech​Current​Voice​Property:​ String

Set the current voice on the synthesizer to the specified voice. An NSDictionary object that contains the phoneme symbols and example words defined for the current synthesizer.

let NSSpeech​Dictionary​Entry​Phonemes:​ String

The phonemic representation of an entry. An NSString.

let NSSpeech​Dictionary​Entry​Spelling:​ String

The spelling of an entry. An NSString.

let NSSpeech​Dictionary​Locale​Identifier:​ String

The canonical locale identifier string describing the dictionary's locale. A locale is generally composed of three pieces of ordered information: a language code, a region code, and a variant code. Refer to documentation about NSLocale or Internationalization and Localization Guide for more information

let NSSpeech​Dictionary​Modification​Date:​ String

A string representation of the dictionary's last modification date in the international format (YYYY-MM-DD HH:MM:SS ±HHMM). If the same word appears across multiple dictionaries, the one from the dictionary with the most recent date will be used.

let NSSpeech​Error​Count:​ String

The number of errors that have occurred in processing the current text string, since the last call to object(for​Property:​) with the NSSpeech​Errors​Property property. An NSNumber

let NSSpeech​Error​Newest​Character​Offset:​ String

The position in the text string of the most recent error that occurred since the last call to object(for​Property:​) with the NSSpeech​Errors​Property property. An NSNumber.

let NSSpeech​Error​Newest​Code:​ String

The error code of the most recent error that occurred since the last call to object(for​Property:​) with the NSSpeech​Errors​Property property. An NSNumber

let NSSpeech​Error​Oldest​Character​Offset:​ String

The position in the text string of the first error that occurred since the last call to object(for​Property:​) with the NSSpeech​Errors​Property property. An NSNumber

let NSSpeech​Error​Oldest​Code:​ String

The error code of the first error that occurred since the last call to object(for​Property:​) with the NSSpeech​Errors​Property property. An NSNumber

let NSSpeech​Errors​Property:​ String

Get speech-error information for the synthesizer. An NSDictionary object that contains speech-error information. See NSSpeechErrorProperty Dictionary Keys for a description of the keys present in the dictionary.

let NSSpeech​Input​Mode​Property:​ String

Get or set the synthesizer’s current text-processing mode. An NSString object that specifies whether the channel is currently in text input mode or phoneme input mode.The supported values are listed in Speaking Modes for NSSpeechInputModeProperty.

let NSSpeech​Mode​Literal:​ String

Indicates that each digit or character is spoken literally (so that 12 is spoken as "one, two", or the word "cat" is spoken as "C A T").

let NSSpeech​Mode​Normal:​ String

Indicates that the synthesizer assembles digits into numbers (so that 12 is spoken as "twelve") and text into words.

let NSSpeech​Mode​Phoneme:​ String

Indicates that the synthesizer is in phoneme-processing mode. When in phoneme-processing mode, a text buffer is interpreted to be a series of characters representing various phonemes and prosodic controls.

let NSSpeech​Mode​Text:​ String

Indicates that the synthesizer is in text-processing mode.

let NSSpeech​Number​Mode​Property:​ String

Get or set the synthesizer’s current number-processing mode. An NSString object that specifies whether the synthesizer is currently in normal or literal number-processing mode. The constants NSSpeech​Mode​Normal and NSSpeech​Mode​Literal are the possible values of this string.

let NSSpeech​Output​To​File​URLProperty:​ String

Set the speech output destination to a file or to the computer’s speakers. An NSURL object. To write the speech output to a file, use the file’s NSURL; to generate the sound through the computer’s speakers, use NULL.

let NSSpeech​Phoneme​Info​Example:​ String

An example word that illustrates the use of the phoneme.

let NSSpeech​Phoneme​Info​Hilite​End:​ String

The character offset into the example word that identifies the location of the end of the phoneme.

let NSSpeech​Phoneme​Info​Hilite​Start:​ String

The character offset into the example word that identifies the location of the beginning of the phoneme.

let NSSpeech​Phoneme​Info​Symbol:​ String

The symbol used to represent the phoneme.

let NSSpeech​Phoneme​Symbols​Property:​ String

Get a list of phoneme symbols and example words defined for the synthesizer. An NSDictionary object that contains the phoneme symbols and example words defined for the current synthesizer

let NSSpeech​Pitch​Base​Property:​ String

Get or set a synthesizer’s baseline speech pitch. An NSNumberobject that specifies the baseline speech pitch.

let NSSpeech​Pitch​Mod​Property:​ String

Get or set a synthesizer’s pitch modulation. An NSNumber object that specifies the synthesizer’s pitch modulation.

let NSSpeech​Rate​Property:​ String

Get or set a synthesizer’s speech rate. An NSNumber object that specifies the synthesizer’s speaking rate.

let NSSpeech​Recent​Sync​Property:​ String

Get the message code for the most recently encountered synchronization command. An NSNumber object that specifies the most recently encountered synchronization command.

let NSSpeech​Reset​Property:​ String

Set a synthesizer back to its default state. There is no value associated with this property; to reset the channel to its default state, set the key to NULL.

let NSSpeech​Status​Number​Of​Characters​Left:​ String

The number of characters left in the input string of text.

let NSSpeech​Status​Output​Busy:​ String

Indicates whether the synthesizer is currently producing speech.

let NSSpeech​Status​Output​Paused:​ String

Indicates whether speech output in the synthesizer has been paused by sending the message pause​Speaking(at:​).

let NSSpeech​Status​Phoneme​Code:​ String

Indicates that the synthesizer is in phoneme-processing mode. When in phoneme-processing mode, a text buffer is interpreted to be a series of characters representing various phonemes and prosodic controls.

let NSSpeech​Status​Property:​ String

Get speech-status information for the synthesizer. An NSDictionary that contains speech-status information for the synthesizer. See NSSpeechStatusProperty Dictionary Keys for a description of the keys present in the dictionary.

let NSSpeech​Synthesizer​Info​Identifier:​ String

The identifier of the speech synthesizer.

let NSSpeech​Synthesizer​Info​Property:​ String

Get information about the speech synthesizer being used on the specified synthesizer. An NSDictionary object that contains information about the speech synthesizer being used on the specified synthesizer. See Speech Synthesizer Property Keys for a description of the keys present in the dictionary.

let NSSpeech​Synthesizer​Info​Version:​ String

The version of the speech synthesizer.

let NSSpeech​Volume​Property:​ String

Get or set the speech volume for a synthesizer. An NSNumber that specifies the synthesizer’s speech volume.

let NSSpelling​State​Attribute​Name:​ String

The value of this attribute is an integer. Defaults to 0, indicating no grammar or spelling error.

let NSSplit​View​Controller​Automatic​Dimension:​ CGFloatlet NSSplit​View​Item​Unspecified​Dimension:​ CGFloat
let NSSquare​Status​Item​Length:​ CGFloat

Sets the status item length to the status bar thickness.

let NSStack​View​Spacing​Use​Default:​ CGFloatlet NSStack​View​Visibility​Priority​Detach​Only​If​Necessary:​ NSStack​View​Visibility​Prioritylet NSStack​View​Visibility​Priority​Must​Hold:​ NSStack​View​Visibility​Prioritylet NSStack​View​Visibility​Priority​Not​Visible:​ NSStack​View​Visibility​Prioritylet NSStrikethrough​Color​Attribute​Name:​ Stringlet NSStrikethrough​Style​Attribute​Name:​ Stringlet NSStroke​Color​Attribute​Name:​ Stringlet NSStroke​Width​Attribute​Name:​ String
let NSSubject​Document​Attribute:​ String

The value of this attribute is an NSString object containing subject of document.

let NSSuperscript​Attribute​Name:​ String

The value of this attribute is an NSNumber object containing an integer. The default value is 0.

let NSTIFFPboard​Type:​ String

Tag Image File Format (TIFF) data.

let NSTab​Column​Terminators​Attribute​Name:​ String

The value is an NSCharacter​Set object.

let NSTable​View​Row​View​Key:​ String

The key associated with the identifier in the NIB containing the template row view.

let NSTablet​Point:​ NSEvent​Type

An event representing the current state of a tablet pointing device, including its location, pressure, and tilt.

Deprecated
let NSTablet​Point​Event​Subtype:​ NSEvent​Subtype

Indicates a tablet-pointer event; see description of NSTablet​Point.

Deprecated
let NSTablet​Point​Mask:​ NSEvent​Mask

Corresponds to NSTablet​Point.

Deprecated
let NSTablet​Proximity:​ NSEvent​Type

An event representing the proximity of a pointing device to its tablet.

Deprecated
let NSTablet​Proximity​Event​Subtype:​ NSEvent​Subtype

Indicates a tablet-proximity event; see description of NSTablet​Proximity.

Deprecated
let NSTablet​Proximity​Mask:​ NSEvent​Mask

Corresponds to NSTablet​Proximity.

Deprecated
let NSTabular​Text​Pboard​Type:​ String

An NSString object containing tab-separated fields of text.

let NSText​Alternatives​Attribute​Name:​ String
let NSText​Checking​Document​Author​Key:​ String

An NSString containing the name of an author to be associated with the document

let NSText​Checking​Document​Title​Key:​ String

An NSString containing the title to be associated with the document.

let NSText​Checking​Document​URLKey:​ String

An NSURL to be associated with the document.

let NSText​Checking​Orthography​Key:​ String

An NSOrthography instance indicating an orthography to be used as a starting point for orthography checking, or as the orthography if orthography checking is not enabled.

let NSText​Checking​Quotes​Key:​ String

An NSArray containing four strings to be used with quote (opening double quote, closing double quote, opening single quote, and closing single quote in that order); if not specified, values will be taken from user's preferences.

let NSText​Checking​Reference​Date​Key:​ String

An NSDate to be associated with the document, used as a referent for relative dates; if not specified, the current date will be used.

let NSText​Checking​Reference​Time​Zone​Key:​ String

An NSTimeZone to be associated with the document, used as a reference for dates without time zones; if not specified, the current time zone will be used.

let NSText​Checking​Regular​Expressions​Key:​ String
let NSText​Checking​Replacements​Key:​ String

An NSDictionary containing replacements to be used with NSTextCheckingTypeReplacement; if not specified, values will be taken from user's preferences.

let NSText​Checking​Selected​Range​Key:​ Stringlet NSText​Effect​Attribute​Name:​ String
let NSText​Effect​Letterpress​Style:​ String

A graphical text effect giving glyphs the appearance of letterpress printing, in which type is pressed into the paper.

let NSText​Encoding​Name​Document​Attribute:​ String

An NSString object containing the name, IANA or otherwise, of a text encoding to be used; mutually exclusive with NSCharacter​Encoding​Document​Attribute.

let NSText​Encoding​Name​Document​Option:​ String

NSString containing the name, IANA or otherwise, of a text encoding to override any encoding specified in an HTML document. Mutually exclusive with @"Character​Encoding". Previous string constant was @"Text​Encoding​Name".

let NSText​Finder​Case​Insensitive​Key:​ String

The value of this key must be an Boolean NSValue object that indicates if the search should be case sensitive.

let NSText​Finder​Matching​Type​Key:​ String

The value of this key must be an NSNumber containing an NSText​Finder​Matching​Type value that indicates the type of search matching to perform..

let NSText​Layout​Section​Range:​ String

An NSValue object containing an NSRange representing a character range. The default value is a range covering the entire string.

let NSText​Layout​Sections​Attribute:​ String
let NSText​Size​Multiplier​Document​Option:​ String

Specifies a scale factor for font sizes. NSNumber containing float, default 1.0; for HTML only, corresponding to WebView's text​Size​Multiplier.

let NSTextured​Background​Window​Mask:​ NSWindow​Style​Mask

The window displays with a metal-textured background. Additionally, the window may be moved by clicking and dragging anywhere in the window background. A bordered window with this mask gets rounded bottom corners.

Deprecated
let NSTimeout​Document​Option:​ String

NSNumber containing float. Time in seconds to wait for a document to finish loading. Previous string constant was @"Timeout".

let NSTitle​Document​Attribute:​ String

The value of this attribute is an NSString object containing document title.

let NSTitled​Window​Mask:​ NSWindow​Style​Mask

The window displays a title bar.

Deprecated
let NSTool​Tip​Attribute​Name:​ String

The value of this attribute is an NSString object containing the tooltip text. The default value is nil, indicating no tooltip is available.

let NSToolbar​Cloud​Sharing​Item​Identifier:​ String
let NSToolbar​Customize​Toolbar​Item​Identifier:​ String

The Customize item. Shows the customization palette.

let NSToolbar​Print​Item​Identifier:​ String

The Print item. Sends print​Document:​ to first​Responder.

let NSToolbar​Toggle​Sidebar​Item​Identifier:​ String

The standard toolbar item identifier for a sidebar. It sends toggle​Sidebar:​ to first​Responder.

let NSTop​Margin​Document​Attribute:​ String

The value of this attribute is an NSNumber object containing a float, in points.

let NSTouch​Event​Subtype:​ NSEvent​Subtype

Indicates a touch event subtype.

Deprecated
let NSType​Identifier​Address​Text:​ Stringlet NSType​Identifier​Date​Text:​ Stringlet NSType​Identifier​Phone​Number​Text:​ Stringlet NSType​Identifier​Transit​Information​Text:​ String
let NSURLPboard​Type:​ String

NSURL data for one file or resource.

var NSUnderline​By​Word​Mask:​ Int

Draw the underline only underneath words, not underneath whitespace.

Deprecated
let NSUnderline​Color​Attribute​Name:​ Stringlet NSUnderline​Style​Attribute​Name:​ String
let NSUnified​Title​And​Toolbar​Window​Mask:​ NSWindow​Style​Mask

The window's title bar and toolbar have a unified look—that is, a continuous background. A horizontal separator line appears under the title bar and toolbar .

Deprecated
let NSUnknown​Color​Space​Model:​ NSColor​Space​Model
let NSUnknown​Pointing​Device:​ NSPointing​Device​Type

Represents an unknown type of pointing device.

Deprecated
let NSUser​Activity​Document​URLKey:​ String

Key in the NSUser​Activity object’s user​Info dictionary. Its value is the URL of the document associated with the user activity.

let NSUses​Screen​Fonts​Document​Attribute:​ String

The value of this attribute is an NSNumber object containing a Boolean; this attribute corresponds to the uses​Screen​Fonts method of NSLayout​Manager; if absent, follows the system default setting

Deprecated
let NSUtility​Window​Mask:​ NSWindow​Style​Mask

The panel is created as a floating window.

Deprecated
let NSVariable​Status​Item​Length:​ CGFloat

Makes the status item length dynamic, adjusting to the width of its contents.

let NSVertical​Glyph​Form​Attribute​Name:​ String
let NSView​Animation​Effect​Key:​ String

An effect to apply to the animation.

let NSView​Animation​End​Frame​Key:​ String

The size and location of the window or view at the end of the animation.

let NSView​Animation​Start​Frame​Key:​ String

The size and location of the window or view at the start of the animation.

let NSView​Mode​Document​Attribute:​ String

The value of this attribute is an NSValue object containing an int; 0 = normal; 1 = page layout (use value of @"Paper​Size").

let NSView​No​Intrinsic​Metric:​ CGFloat
let NSView​Size​Document​Attribute:​ String

The value of this attribute is an NSValue object containing NSSize.

let NSView​Zoom​Document​Attribute:​ String

The value of this attribute is an NSValue object containing a float. 100 = 100% zoom.

let NSVoice​Age:​ String

The perceived age (in years) of the voice. An NSString

let NSVoice​Demo​Text:​ String

A demonstration string to speak. An NSString

let NSVoice​Gender:​ String

The perceived gender of the voice. The supported values are listed in Voice Gender Keys. An NSString

let NSVoice​Gender​Neuter:​ String

A neutral voice (or a novelty voice with a humorous or whimsical quality).

let NSVoice​Identifier:​ String

A unique string identifying the voice. The identifiers of the system voices are listed in Listing 1.

let NSVoice​Individually​Spoken​Characters:​ String

A list of unicode character id ranges that define the unicode characters that can be spoken in character-by-character mode by this voice. ach list entry is a dictionary containing two keys: "UnicodeCharBegin", an integer value containing the beginning unicode id of this range; and "UnicodeCharBegin", an integer value containing the ending unicode id of this range.

let NSVoice​Locale​Identifier:​ String

The language of the voice. An NSString

let NSVoice​Name:​ String

The name of the voice suitable for display. An NSString.

let NSVoice​Supported​Characters:​ String

A list of unicode character id ranges that define the unicode characters supported by this voice. a dictionary containing two keys: "UnicodeCharBegin", an integer value containing the beginning unicode id of this range; and "UnicodeCharBegin", an integer value containing the ending unicode id of this range. The synthesizer will convert or ignore any characters not contained in the range of supported characters.

let NSWarning​Alert​Style:​ NSAlert​Style

An alert used to warn the user about a current or impending event. The purpose is more than informational but not critical. This is the default alert style.

Deprecated
let NSWeb​Preferences​Document​Option:​ String

WebPreferences; for HTML only, specifies a WebPreferences object. If not present, a default set of preferences is used. Previous string constant was @"Web​Preferences".

let NSWeb​Resource​Load​Delegate​Document​Option:​ String

NSObject; for HTML only, specifies an object to serve as the web resource loading delegate.

let NSWheel​Mode​Color​Panel:​ NSColor​Panel​Mode
let NSWindow​Exposed​Event​Type:​ NSEvent​Subtype

A non-retained NSWindow has been exposed.

Deprecated
let NSWord​MLText​Document​Type:​ String

Microsoft Word XML (WordML schema) document.

let NSWorkspace​Application​Key:​ String

The value corresponding to this key is an instance of NSRunning​Application that reflects the affected app.

let NSWorkspace​Compress​Operation:​ String

Compress file. This operation always returns an error.

Deprecated
let NSWorkspace​Copy​Operation:​ String

Copy file to destination. Behaves the same as copy​Path:​to​Path:​handler:​.

Deprecated
let NSWorkspace​Decompress​Operation:​ String

Decompress file. This operation always returns an error.

Deprecated
let NSWorkspace​Decrypt​Operation:​ String

Decrypt file. This operation always returns an error.

Deprecated
let NSWorkspace​Desktop​Image​Allow​Clipping​Key:​ String

The value is an NSNumber containing a BOOL, which affects the interpretation of Proportional scaling types. A false value will make the image fully visible, but there may be empty space on the sides or top and bottom. A true value will cause the image to fill the entire screen, but the image may be clipped. If this is not specified, false is assumed. Non-proportional scaling types ignore this value.

let NSWorkspace​Desktop​Image​Fill​Color​Key:​ String

The value is an NSColor, which is used to fill any empty space around the image. If not specified, a default value is used. Currently, only colors that use or can be converted to use NSCalibrated​RGBColor​Space are supported, and any alpha value is ignored.

let NSWorkspace​Desktop​Image​Scaling​Key:​ String

The value is an NSNumber containing an NSImage​Scaling constant as declared in NSCell. If this is not specified, scale​Proportionally​Up​Or​Down is used. scale​Proportionally​Down is not currently supported.

let NSWorkspace​Duplicate​Operation:​ String

Duplicate file in source directory.

Deprecated
let NSWorkspace​Encrypt​Operation:​ String

Encrypt file. This operation always returns an error.

Deprecated
let NSWorkspace​Launch​Configuration​Apple​Event:​ String

The value is the first NSAppleEventDescriptor to send to the new app. If an instance of the app is already running, this is sent to that app.

let NSWorkspace​Launch​Configuration​Architecture:​ String

The value is an NSNumber containing an Mach-O Architecture constant. Ignored if a new instance of the app is not launched.

let NSWorkspace​Launch​Configuration​Arguments:​ String

The value is an NSArray of NSStrings, passed to the new app in the argv parameter. Ignored if a new instance of the app is not launched. This constant is not available to sandboxed apps.

let NSWorkspace​Launch​Configuration​Environment:​ String

The value is an NSDictionary, mapping NSStrings to NSStrings, containing environment variables to set for the new app. Ignored if a new instance of the app is not launched. This constant is not available to sandboxed apps.

let NSWorkspace​Link​Operation:​ String

Create hard link to file in destination. Behaves the same as link​Path:​to​Path:​handler:​.

Deprecated
let NSWorkspace​Move​Operation:​ String

Move file to destination. Behaves the same as move​Path:​to​Path:​handler:​.

Deprecated
let NSWorkspace​Recycle​Operation:​ String

Move file to trash. The file is moved to the trash folder on the volume containing the file using the same semantics as NSWorkspace​Move​Operation. If a file with the same name currently exists in the trash folder, the new file is renamed. If no trash folder exists on the volume containing the file, the operation fails.

Deprecated
let NSWorkspace​Volume​Localized​Name​Key:​ String

NSString containing the user-visible name of the volume.

let NSWorkspace​Volume​Old​Localized​Name​Key:​ String

NSString containing the old user-visible name of the volume

let NSWorkspace​Volume​Old​URLKey:​ String

NSURL containing the old mount path of the volume

let NSWorkspace​Volume​URLKey:​ String

NSURL containing the mount path of the volume.

let NSWriting​Direction​Attribute​Name:​ Stringvar NS_SHARING_SERVICE_DELEGATE_TRANSITION_IMAGE_FOR_SHARE_ITEM_DECLARES_NULLABILITY:​ Int32var NS_USER_ACTIVITY_SUPPORTED:​ Int32
let NSOn​Off​Button:​ NSButton​Type

The first click highlights the button; a second click returns it to the normal (unhighlighted) state.

let NSPen​Tip​Mask:​ NSEvent​Button​Mask

The pen tip is activated.

Deprecated
let NSPush​On​Push​Off​Button:​ NSButton​Type

When the button is clicked (on state), it appears illuminated. If the button has borders, it may also appear recessed. A second click returns it to its normal (off) state.

let NSRadio​Button:​ NSButton​Type

This style is similar to NSSwitch​Button, but it is used to constrain a selection to a single element from several elements.

let NSRecessed​Bezel​Style:​ NSBezel​Style

A bezel style that matches the recessed buttons in Mail, Finder and Safari.

let NSRegular​Square​Bezel​Style:​ NSBezel​Style

A rectangular button with a two-point border, designed for icons.

let NSRound​Rect​Bezel​Style:​ NSBezel​Style

A bezel style that matches the search buttons in Finder and Mail.

let NSRounded​Bezel​Style:​ NSBezel​Style

A rounded rectangle button, designed for text.

let NSRounded​Disclosure​Bezel​Style:​ NSBezel​Style
let NSShadowless​Square​Bezel​Style:​ NSBezel​Style

Similar to NSRegular​Square​Bezel​Style, but has no shadow, so you can abut the cells without overlapping shadows.

let NSShift​Key​Mask:​ NSEvent​Modifier​Flags

Set if Shift key is pressed.

Deprecated
let NSSmall​Square​Bezel​Style:​ NSBezel​Style

A simple square bezel style. Buttons using this style can be scaled to any size.

let NSSwitch​Button:​ NSButton​Type

This style is a variant of NSToggle​Button that has no border and is typically used to represent a checkbox.

let NSTextured​Rounded​Bezel​Style:​ NSBezel​Style

A textured (metal) bezel style similar in appearance to the Finder’s action (gear) button.

let NSTextured​Square​Bezel​Style:​ NSBezel​Style

A bezel style appropriate for use with textured (metal) windows.

let NSThick​Square​Bezel​Style:​ NSBezel​Style

A rectangular button with a three-point border, designed for icons.

Deprecated
let NSThicker​Square​Bezel​Style:​ NSBezel​Style

A rectangular button with a four-point border, designed for icons.

Deprecated
let NSToggle​Button:​ NSButton​Type

After the first click, the button displays its alternate image or title (on state); a second click returns the button to its normal (off) state.