AppKit Data Types

This document describes the data types defined in the Application Kit framework and not described in a document for an individual class.

Symbols

Data Types

NSAnimationEffect

This type defines the standard system animation effects, which include both display and sound.

NSAnimationProgress

NSAnimationProgress is returned in the userInfo dictionary of an NSAnimationProgressMark notification. It will have a value between 0.0 and 1.0

NSCellStateValue

Constants for specifying a cell’s state and are used mostly for buttons.

NSFocusRingPlacement

The focus ring style indicates how the focus ring will be drawn.

NSFocusRingType

The focus ring type is used by NSView and NSCell to configure if and how a control should draw its focus ring.

NSFontFamilyClass

These constants classify certain stylistic qualities of the font. These values correspond closely to the font class values in the OpenType OS/2 table. The class values are bundled in the upper four bits of the NSFontSymbolicTraits and can be accessed via NSFontFamilyClassMask. For more information about the specific meaning of each identifier, refer to the OpenType specification.

NSFontSymbolicTraits

NSFontSymbolicTraits symbolically describes stylistic aspects of a font.

NSGlyph

This type is used to specify glyphs in such methods as glyphWithName:.

NSLayoutPriority

A constraint’s priority.

NSModalSession

Variables of type NSModalSession point to information used by the system between NSApplication’s beginModalSession(for:) and endModalSession(_:) messages.

NSOpenGLContextAuxiliary

A private data structure used by NSOpenGLContext.

NSStackViewVisibilityPriority

The various Auto Layout priorities for a view in the stack view to remain attached.

NSTextStorageEditedOptions
NSToolTipTag

This type describes the rectangle used to identify a tooltip rectangle.

NSTrackingRectTag

This type describes the rectangle used to track the mouse.

NSWindowDepth

This type represents the depth, or amount of memory, devoted to a single pixel in a window or screen. A depth of 0 indicates default depth. Window depths should not be made persistent as they will not be the same across systems.

NSWindowNumberListOptions

The options that may be passed to the windowNumbers(withOptions:) method.