[TOC] [Prev] [Next]

Defined Types


NSBorderType

Declared In:
AppKit/NSView.h

Synopsis:

typedef enum _NSBorderType {
NSNoBorder,
NSLineBorder,
NSBezelBorder,
NSGrooveBorder
} NSBorderType;

Description:
This type represents the kinds of border that can be drawn around certain NSView subclasses.


NSButtonType

Declared In:
AppKit/NSButtonCell.h

Synopsis:

typedef enum _NSButtonType {
NSMomentaryPushButton,
NSPushOnPushOffButton,
NSToggleButton,
NSSwitchButton,
NSRadioButton,
NSMomentaryChangeButton,
NSOnOffButton,
NSMomentaryLight,
} NSButtonType;

Description:
This type represents the way NSButtons and NSButtonCells behave when pressed, and the way they display their state. See NSButton's and NSButtonCell's setButtonType: methods for more information.


NSCellAttribute

Declared In:
AppKit/NSCell.h

Synopsis:

typedef enum _NSCellAttribute {
NSCellDisabled,
NSCellState,
NSPushInCell,
NSCellEditable,
NSChangeGrayCell,
NSCellHighlighted,
NSCellLightsByContents,
NSCellLightsByGray,
NSChangeBackgroundCell,
NSCellLightsByBackground,
NSCellIsBordered,
NSCellHasOverlappingImage,
NSCellHasImageHorizontal,
NSCellHasImageOnLeftOrBottom,
NSCellChangesContents,
NSCellIsInsetButton,
NSCellAllowsMixedState
} NSCellAttribute;

Description:
This is the type of the first argument to the NSCell methods setCellAttribute:to: and cellAttribute: methods. Some of the values apply not to NSCell but to one of its subclasses.

Often it's preferable to change cell attributes using more specialized methods like setState: or setEditable:.


NSCellImagePosition

Declared In:
AppKit/NSCell.h

Synopsis:

typedef enum _NSCellImagePosition {
NSNoImage,
NSImageOnly,
NSImageLeft,
NSImageRight,
NSImageBelow,
NSImageAbove,
NSImageOverlaps,
} NSCellImagePosition;

Description:
These constants represent the position of an NSButtonCell's NSImage relative to its title. See NSButton's and NSButtonCell's setImagePosition: and imagePosition methods for more information.


NSCellType

Declared In:
AppKit/NSCell.h

Synopsis:

typedef enum _NSCellType {
NSNullCellType,
NSTextCellType,
NSImageCellType,
} NSCellType;

Description:
The values of this type determine what kind of data an NSCell displays. NSCells of type NSTextCellType and NSImageCellType display text and images, respectively. NSCells of type NSNullCellType display nothing. See the NSCell methods type and setType: for more information.


NSDataLinkDisposition

Declared In:
AppKit/NSDataLink.h

Synopsis:

typedef enum _NSDataLinkDisposition {
NSLinkInDestination,
NSLinkInSource,
NSLinkBroken
} NSDataLinkDisposition;

Description:
Returned by NSDataLink's disposition method to identify a link as a destination link, a source link, or a broken link. See the NSDataLink class specification for more information on the dispositions of links.


NSDataLinkNumber

Declared In:
AppKit/NSDataLink.h

Synopsis:

typedef int NSDataLinkNumber;

Description:
The type returned by NSDataLink's linkNumber method as a persistent identifier of a destination link.


NSDataLinkUpdateMode

Declared In:
AppKit/NSDataLink.h

Synopsis:

typedef enum _NSDataLinkUpdateMode {
NSUpdateContinuously,
NSUpdateWhenSourceSaved,
NSUpdateManually,
NSUpdateNever
} NSDataLinkUpdateMode;

Description:
Used by NSDataLink's setUpdateMode: and updateMode methods to identify when a link's data is to be updated.


NSEventType

Declared In:
AppKit/NSEvent.h

Synopsis:

typedef enum _NSEventType {
NSLeftMouseDown,
NSLeftMouseUp,
NSRightMouseDown,
NSRightMouseUp,
NSMouseMoved,
NSLeftMouseDragged,
NSRightMouseDragged,
NSMouseEntered,
NSMouseExited,
NSKeyDown,
NSKeyUp,
NSFlagsChanged,
NSAppKitDefined,
NSSystemDefined,
NSApplicationDefined
NSPeriodic,
NSCursorUpdate
} NSEventType;

Description:
This type represents various kinds of events. It is the return type of NSEvent's type method, and the type of the first argument to NSEvent's ...EventWithType: methods.


NSFontAction

Declared In:
AppKit/NSFontManager.h

Synopsis:

typedef enum _NSFontAction {
NSNoFontChangeAction,
NSViaPanelFontAction,
NSAddTraitFontAction,
NSSizeUpFontAction,
NSSizeDownFontAction,
NSHeavierFontAction,
NSLighterFontAction,
NSRemoveTraitFontAction
} NSFontAction;

Description:
Values of this type tag the actions of font menu cells. When a font menu cell sends a message to NSFontManager, NSFontManager checks the cell for one of these tags.

This type is in the API for explanatory purposes only. You will never use it directly.


NSFontTraitMask

Declared In:
AppKit/NSFontManager.h

Synopsis:

typedef unsigned int NSFontTraitMask;

Description:
An NSFontTraitMask characterizes one or more of a font's traits. It's used as an argument type for NSAttributedString's applyFontTraits:range: method, NSCStringText's setSelFontStyle: method, and several of the methods in the NSFontManager class.


NSGlyph

Declared In:
AppKit/NSFont.h

Synopsis:

typedef unsigned int NSGlyph;

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


NSGlyphInscription

Declared In:
AppKit/NSLayoutManager.h

Synopsis:

typedef enum {
NSGlyphInscribeBase,
NSGlyphInscribeBelow,
NSGlyphInscribeAbove,
NSGlyphInscribeOverstrike,
NSGlyphInscribeOverBelow
} NSGlyphInscription;

Description:
The inscribe attribute of an glyph determines how it is laid out relative to the previous glyph.


NSGlyphRelation

Declared In:
AppKit/NSFont.h

Synopsis:

typedef enum _NSGlyphRelation {
NSGlyphBelow,
NSGlyphAbove,
} NSGlyphRelation;

Description:
This type specifies the position of a glyph in relation to the base glyph. Parameters of this type are used in the second slot of the NSFont method positionOfGlyph:withRelation:toBaseGlyph:....


NSGradientType

Declared In:
AppKit/NSButtonCell.h

Synopsis:

typedef enum _NSGradientType {
NSGradientNone,
NSGradientConcaveWeak,
NSGradientConcaveStrong,
NSGradientConvexWeak,
NSGradientConvexStrong
} NSGradientType;

Description:
This type represents the darkness gradient of an NSButtonCell. A concave gradient is darkest in the top left corner, a convex gradient is darkest in the bottom right corner. A weak gradient has only weak darkness contrast between opposite corners; a strong gradient has strong contrast. See the NSButtonCell methods gradient and setGradient: for more information.


NSImageAlignment

Declared In:
AppKit/NSImageCell.h

Synopsis:

typedef enum {
NSImageAlignCenter,
NSImageAlignTop,
NSImageAlignTopLeft,
NSImageAlignTopRight,
NSImageAlignLeft,
NSImageAlignBottom,
NSImageAlignBottomLeft,
NSImageAlignBottomRight,
NSImageAlignRight
} NSImageAlignment;

Description:
This type defines the ways of aligning an NSImage within an NSImageCell. It is the return type for NSImageCell's and NSImageView's imageAlignment methods, and an argument type for their setImageAlignment: methods.


NSImageFrameStyle

Declared In:
AppKit/NSImageCell.h

Synopsis:

typedef enum {
NSImageFrameNone,
NSImageFramePhoto,
NSImageFrameGrayBezel,
NSImageFrameGroove,
NSImageFrameButton
} NSImageFrameStyle;

Description:
This type defines the kinds of frames that can appear around an NSImageCell. It is the return type for NSImageCell's and NSImageView's imageFrameStyle methods, and an argument type for their setImageFrameStyle: methods.


NSImageScaling

Declared In:
AppKit/NSImageCell.h

Synopsis:

typedef enum {
NSScaleProportionally,
NSScaleToFit,
NSScaleNone
} NSImageScaling;

Description:
This type defines the ways that an image can be scaled to fit an NSImageCell. The value NSScaleProportionally means that the image should be scaled in a way that preserves its proportions. The value NSScaleToFit means that the image should fit the NSView, even if that means its proportions must be distorted. The value NSScaleNone means that the image's size should be preserved, even if it must be clipped to fit the NSView.


NSInterfaceStyle

Declared In:
AppKit/NSInterfaceStyle.h

Synopsis:

typedef enum {
NSNoInterfaceStyle,
NSNextStepInterfaceStyle,
NSWindows95InterfaceStyle,
NSMacintoshInterfaceStyle
} NSInterfaceStyle;
Declared In:
This type defines the style of an application's user interface. It is returned by the interfaceStyle method and taken as an argument by the setInterfaceStyle: method. Both of the these methods are in the NSInterfaceStyle category of NSResponder.

For more information, see the function NSInterfaceStyleForKey.


NSLineBreakMode

Declared In:
AppKit/NSParagraphStyle.h

Synopsis:

typedef enum _NSLineBreakMode {
NSLineBreakByWordWrapping,
NSLineBreakByCharWrapping,
NSLineBreakByClipping,
NSLineBreakByTruncatingHead,
NSLineBreakByTruncatingTail,
NSLineBreakByTruncatingMiddle
} NSLineBreakMode;

Description:
This type defines the ways that a long paragraph can be broken into lines. The possible values are described below.

Value Meaning
NSLineBreakByWordWrapping The default value. At the last possible word boundary, the paragraph wraps to the next line.
NSLineBreakByCharWrapping At the last possible character, the paragraph wraps to the next line.
NSLineBreakByClipping As much of the paragraph appears as will fit on a single line. This value has the same effect as NSLineBreakByTruncatingTail
NSLineBreakByTruncatingHead As much of the paragraph appears as will fit on a single line. Characters from the start of the paragraph do not appear.
NSLineBreakByTruncatingTail As much of the paragraph appears as will fit on a single line. Characters from the end of the paragraph do not appear.
NSLineBreakByTruncatingMiddle As much of the paragraph appears as will fit on a single line. Characters from the middle of the paragraph do not appear.


NSLineMovementDirection

Declared In:
AppKit/NSTextContainer.h

Synopsis:

typedef enum {
NSLineDoesntMove,
NSLineMovesLeft,
NSLineMovesRight,
NSLineMovesDown,
NSLineMovesUp
} NSLineMovementDirection;

Description:
This is an argument type for the NSTextContainer method lineFragmentRectForProposedRect:sweepDirection:movementDirection:remainingRect:.


NSLineSweepDirection

Declared In:
AppKit/NSTextContainer.h

Synopsis:

typedef enum {
NSLineSweepLeft,
NSLineSweepRight,
NSLineSweepDown,
NSLineSweepUp
} NSLineSweepDirection;

Description:
This is an argument type for the NSTextContainer method lineFragmentRectForProposedRect:sweepDirection:movementDirection:remainingRect:.


NSMatrixMode

Declared In:
AppKit/NSMatrix.h

Synopsis:

typedef enum _NSMatrixMode {
NSRadioModeMatrix,
NSHighlightModeMatrix,
NSListModeMatrix,
NSTrackModeMatrix
} NSMatrixMode;

Description:
These constants represent the modes of operation of an NSMatrix, as described in the NSMatrix class specification.


NSModalSession

Declared In:
AppKit/NSApplication.h

Synopsis:

typedef struct _NSModalSession *NSModalSession;

Description:
Variables of type NSModalSession point to information used by the system between beginModalSession:for: and endModalSession: messages.


NSPrinterTableStatus

Declared In:
AppKit/NSPrinter.h

Synopsis:

typedef enum _NSPrinterTableStatus {
NSPrinterTableOK,
NSPrinterTableNotFound,
NSPrinterTableError
} NSPrinterTableStatus;

Description:
These constants are used to describe the state of a printer-information table stored by an NSPrinter object. See the NSPrinter method statusForTable: for more information.


NSPrintingOrientation

Declared In:
AppKit/NSPrintInfo.h

Synopsis:

typedef enum _NSPrintingOrientation {
NSPortraitOrientation,
NSLandscapeOrientation
} NSPrintingOrientation;

Description:
These constants represent the way a page is oriented for printing. In NSPortraitOrientation, the page is taller than it is wide; in NSLandscapeOrientation, the page is wider than it is tall. See the NSPrintInfo methods orientation and setOrientation: for more information.


NSPrintingPageOrder

Declared In:
AppKit/NSPrintOperation.h

Synopsis:

typedef enum _NSPrintingPageOrder {
NSDescendingPageOrder,
NSSpecialPageOrder,
NSAscendingPageOrder,
NSUnknownPageOrder
} NSPrintingPageOrder;

Description:
This type represents the order in which pages are to be printed. The value NSSpecialPageOrder tells the spooler to not rearrange the pages. The value NSUnknownPageOrder means that no page order is written out. See the NSPrintOperation methods pageOrder and setPageOrder: for more information.


NSPrintingPaginationMode

Declared In:
AppKit/NSPrintInfo.h

Synopsis:

typedef enum _NSPrintingPaginationMode {
NSAutoPagination,
NSFitPagination,
NSClipPagination
} NSPrintingPaginationMode;

Description:
These constants represent the different ways in which an image is divided into pages. The value NSFitPagination forces the image to fit on one page. The value NSClipPagination allows the image to be clipped by the page.See the NSPrintInfo class specification for a fuller explanation.


NSRulerOrientation

Declared In:
AppKit/NSRulerView.h

Synopsis:

typedef enum {
NSHorizontalRuler,
NSVerticalRuler
} NSRulerOrientation;

Description:
This type defines whether an NSRulerView will be displayed horizontally or vertically. It is the return type of NSRulerView's orientation method, and an argument to the NSRulerView methods setOrientation: and initWithScrollView:orientation:.


NSScrollArrowPosition

Declared In:
AppKit/NSScroller.h

Synopsis:

typedef enum _NSScrollArrowPosition {
NSScrollerArrowsMaxEnd,
NSScrollerArrowsMinEnd,
NSScrollerArrowsNone
} NSScrollArrowPosition;

Description:
These constants are used in NSScroller's setArrowsPosition: method to set the position of the arrows within the scroller.


NSScrollerArrow

Declared In:
AppKit/NSScroller.h

Synopsis:

typedef enum _NSScrollerArrow {
NSScrollerIncrementArrow,
NSScrollerDecrementArrow
} NSScrollerArrow;

Description:
This is the type of the first argument to the NSScroller method drawArrow:highlight:. The value determines which scroll button is drawn.


NSScrollerPart

Declared In:
AppKit/NSScroller.h

Synopsis:

typedef enum _NSScrollerPart {
NSScrollerNoPart,
NSScrollerDecrementPage,
NSScrollerKnob,
NSScrollerIncrementPage,
NSScrollerDecrementLine,
NSScrollerIncrementLine,
NSScrollerKnobSlot
} NSScrollerPart;

Description:
These constants are used in Scroller's hitPart method to identify the part of the Scroller specified in a mouse event.


NSSelectionAffinity

Declared In:
AppKit/NSTextView.h

Synopsis:

typedef enum _NSSelectionAffinity {
NSSelectionAffinityUpstream,
NSSelectionAffinityDownstream
} NSSelectionAffinity;

Description:
This is the return type of the NSTextView method selectionAffinity, and the type of the second argument to the NSTextView method setSelectedRange:affinity:stillSelecting:.


NSSelectionDirection

Declared In:
AppKit/NSWindow.h

Synopsis:

typedef enum _NSSelectionDirection {
NSDirectSelection,
NSSelectingNext,
NSSelectingPrevious
} NSSelectionDirection;

Description:
This is the return type of the NSWindow method keyViewSelectionDirection.


NSSelectionGranularity

Declared In:
AppKit/NSTextView.h

Synopsis:

typedef enum _NSSelectionGranularity {
NSSelectByCharacter,
NSSelectByWord,
NSSelectByParagraph
} NSSelectionGranularity;

Description:
This is the return type of the NSTextView method selectionGranularity, and the type of arguments to two other NSTextView methods, setSelectionGranularity: and selectionRangeForProposedRange:granularity:.


NSTextAlignment

Declared In:
AppKit/NSText.h

Synopsis:

typedef enum _NSTextAlignment {
NSLeftTextAlignment,
NSRightTextAlignment,
NSCenterTextAlignment,
NSJustifiedTextAlignment,
NSNaturalTextAlignment
} NSTextAlignment;

Description:
Variables of this type are used as arguments and return values for methods that specify text alignment.


NSTextTabType

Declared In:
AppKit/NSParagraphStyle.h

Synopsis:

typedef enum _NSTextTabType {
NSLeftTabStopType,
NSRightTabStopType,
NSCenterTabStopType,
NSDecimalTabStopType
} NSTextTabType;

Description:
This is the return type of NSTextTab's tabStopType method, and an argument to NSTextTab's initWithType:location: method.


NSTIFFCompression

Synopsis:
AppKit/NSBitmapImageRep.h
Synopsis:
typedef enum _NSTIFFCompression {
NSTIFFCompressionNone,
NSTIFFCompressionCCITTFAX3,
NSTIFFCompressionCCITTFAX4,
NSTIFFCompressionLZW,
NSTIFFCompressionJPEG,
NSTIFFCompressionNEXT,
NSTIFFCompressionPackBits,
NSTIFFCompressionOldJPEG
} NSTIFFCompression;

Description:
These constants represent the various TIFF (tag image file format) data compression schemes. See the NSBitmapImageRep class specification for their meanings.


NSTitlePosition

Declared In:
AppKit/NSBox.h

Synopsis:

typedef enum _NSTitlePosition {
NSNoTitle,
NSAboveTop,
NSAtTop,
NSBelowTop,
NSAboveBottom,
NSAtBottom,
NSBelowBottom
} NSTitlePosition;

Description:
This type represents the locations where an NSBox's title can be placed with respect to its border. Thus, for example, NSAboveTop means the title is above the top of the border, NSAtTop means the title breaks the top border, and so on. See the NSBox methods titlePosition and setTitlePosition:.


NSTrackingRectTag

Declared In:
AppKit/NSView.h

Synopsis:

typedef int NSTrackingRectTag;

Description:
This type describes the rectangle used to track the mouse. See the NSView methods addTrackingRect:... and removeTrackingRect:.


NSUsableScrollerParts

Declared In:
AppKit/NSScroller.h

Synopsis:

typedef enum _NSUsableScrollerParts {
NSNoScrollerParts,
NSOnlyScrollerArrows,
NSAllScrollerParts
} NSUsableScrollerParts;

Description:
This type defines the usable parts of an NSScroller; see the class specification for more information.


NSWindowDepth

Declared In:
AppKit/NSGraphics.h

Synopsis:

typedef int NSWindowDepth;

Description:
This type represents the depth, or amount of memory, devoted to a single pixel in a window or screen.

Enumerations


NSApplication-Modal Session Return Values

Declared In:
AppKit/NSApplication.h

Synopsis:

enum {
NSRunStoppedResponse,
NSRunAbortedResponse,
NSRunContinuesResponse
};

Description:
Return values for the NSApplication methods runModalFor: and runModalSession:.


NSAttributedString-Underlining

Declared In:
AppKit/NSAttributedString.h

Synopsis:

enum {
NSSingleUnderlineStyle
};

Description:
This defines the only currently supported value for NSUnderlineStyleAttributeName.


NSButtonCell-State Masks

Declared In:
AppKit/NSCell.h

Synopsis:

enum {
NSNoCellMask,
NSContentsCellMask,
NSPushInCellMask,
NSChangeGrayCellMask,
NSChangeBackgroundCellMask
};

Description:
These masks are passed to the NSButtonCell methods highlightsBy: and showsStateBy:.


NSCell-Action Flags

Declared In:
AppKit/NSEvent.h

Synopsis:

enum {
NSLeftMouseDownMask,
NSLeftMouseUpMask,
NSRightMouseDownMask,
NSRightMouseUpMask,
NSMouseMovedMask,
NSLeftMouseDraggedMask,
NSRightMouseDraggedMask,
NSMouseEnteredMask,
NSMouseExitedMask,
NSKeyDownMask,
NSKeyUpMask,
NSFlagsChangedMask,
NSAppKitDefinedMask,
NSSystemDefinedMask,
NSApplicationDefinedMask,
NSPeriodicMask,
NSCursorUpdateMask,
NSAnyEventMask
};

Description:
These constants are masks for different kinds of events. You pass them to NSCell's sendActionOn: method to indicate when an NSCell should send its action message.


NSCell-Data Entry Types

Declared In:
AppKit/NSCell.h

Synopsis:

enum {
NSAnyType,
NSIntType,
NSPositiveIntType,
NSFloatType,
NSPositiveFloatType,
NSDoubleType,
NSPositiveDoubleType
};

Description:
These constants represent the numeric data types that a text NSCell can accept. See NSCell's setEntryType: method for more information.


NSCell-States

Declared In:
AppKit/NSCell.h

Synopsis:

enum {
NSStateMixed,
NSStateOff,
NSStateOn
};

Description:
These constants are suggested parameter values for the NSCell method setState:.


NSColorPanel-Modes

Declared In:
AppKit/NSColorPanel.h

Synopsis:

enum {
NSGrayModeColorPanel,
NSRGBModeColorPanel,
NSCMYKModeColorPanel,
NSHSBModeColorPanel,
NSCustomPaletteModeColorPanel,
NSColorListModeColorPanel,
NSWheelModeColorPanel
};

Description:
These constants represent the possible modes of an NSColorPanel.


NSColorPanel-Mode Masks

Declared In:
AppKit/NSColorPanel.h

Synopsis:

enum {
NSColorPanelGrayModeMask,
NSColorPanelRGBModeMask,
NSColorPanelCMYKModeMask,
NSColorPanelHSBModeMask,
NSColorPanelCustomPaletteModeMask,
NSColorPanelColorListModeMask,
NSColorPanelWheelModeMask,
NSColorPanelAllModesMask
};

Description:
These constants provide masks for the NSColorPanel modes.


NSDragging-Operations

Declared In:
AppKit/NSDragging.h

Synopsis:

enum {
NSDragOperationNone,
NSDragOperationCopy,
NSDragOperationLink,
NSDragOperationGeneric,
NSDragOperationPrivate,
NSDragOperationAll
};

Description:
These constants define the operations that result from a user's drag. For full descriptions of their meanings and uses, see the method descriptions for draggingSourceOperationMaskForLocal: (in the NSDraggingSource protocol), draggingSourceOperationMask (in the NSDraggingInfo protocol), or draggingEntered: (in the NSDraggingDestination protocol).


NSEvent-Function-Key Unicodes

Declared In:
AppKit/NSEvent.h

Synopsis:

enum {
NSUpArrowFunctionKey = 0xF700,
NSDownArrowFunctionKey = 0xF701,
NSLeftArrowFunctionKey = 0xF702,
NSRightArrowFunctionKey = 0xF703,
NSF1FunctionKey = 0xF704,
NSF2FunctionKey = 0xF705,
NSF3FunctionKey = 0xF706,
NSF4FunctionKey = 0xF707,
NSF5FunctionKey = 0xF708,
NSF6FunctionKey = 0xF709,
NSF7FunctionKey = 0xF70A,
NSF8FunctionKey = 0xF70B,
NSF9FunctionKey = 0xF70C,
NSF10FunctionKey = 0xF70D,
NSF11FunctionKey = 0xF70E,
NSF12FunctionKey = 0xF70F,
NSF13FunctionKey = 0xF710,
NSF14FunctionKey = 0xF711,
NSF15FunctionKey = 0xF712,
NSF16FunctionKey = 0xF713,
NSF17FunctionKey = 0xF714,
NSF18FunctionKey = 0xF715,
NSF19FunctionKey = 0xF716,
NSF20FunctionKey = 0xF717,
NSF21FunctionKey = 0xF718,
NSF22FunctionKey = 0xF719,
NSF23FunctionKey = 0xF71A,
NSF24FunctionKey = 0xF71B,
NSF25FunctionKey = 0xF71C,
NSF26FunctionKey = 0xF71D,
NSF27FunctionKey = 0xF71E,
NSF28FunctionKey = 0xF71F,
NSF29FunctionKey = 0xF720,
NSF30FunctionKey = 0xF721,
NSF31FunctionKey = 0xF722,
NSF32FunctionKey = 0xF723,
NSF33FunctionKey = 0xF724,
NSF34FunctionKey = 0xF725,
NSF35FunctionKey = 0xF726,
NSInsertFunctionKey = 0xF727,
NSDeleteFunctionKey = 0xF728,
NSHomeFunctionKey = 0xF729,
NSBeginFunctionKey = 0xF72A,
NSEndFunctionKey = 0xF72B,
NSPageUpFunctionKey = 0xF72C,
NSPageDownFunctionKey = 0xF72D,
NSPrintScreenFunctionKey = 0xF72E,
NSScrollLockFunctionKey = 0xF72F,
NSPauseFunctionKey = 0xF730,
NSSysReqFunctionKey = 0xF731,
NSBreakFunctionKey = 0xF732,
NSResetFunctionKey = 0xF733,
NSStopFunctionKey = 0xF734,
NSMenuFunctionKey = 0xF735,
NSUserFunctionKey = 0xF736,
NSSystemFunctionKey = 0xF737,
NSPrintFunctionKey = 0xF738,
NSClearLineFunctionKey = 0xF739,
NSClearDisplayFunctionKey = 0xF73A,
NSInsertLineFunctionKey = 0xF73B,
NSDeleteLineFunctionKey = 0xF73C,
NSInsertCharFunctionKey = 0xF73D,
NSDeleteCharFunctionKey = 0xF73E,
NSPrevFunctionKey = 0xF73F,
NSNextFunctionKey = 0xF740,
NSSelectFunctionKey = 0xF741,
NSExecuteFunctionKey = 0xF742,
NSUndoFunctionKey = 0xF743,
NSRedoFunctionKey = 0xF744,
NSFindFunctionKey = 0xF745,
NSHelpFunctionKey = 0xF746,
NSModeSwitchFunctionKey = 0xF747
};

Description:
These Unicodes (0xF700-0xF8FF) are reserved for function keys on the keyboard. Combined in NSStrings, they may be used in the return value of the NSEvent methods characters..., and in parameters of the NSEvent method keyEventWithType:...characters:....


NSEvent-Modifier Flags

Declared In:
AppKit/NSEvent.h

Synopsis:

enum {
NSAlphaShiftKeyMask,
NSShiftKeyMask,
NSControlKeyMask,
NSAlternateKeyMask,
NSCommandKeyMask,
NSNumericPadKeyMask,
NSHelpKeyMask,
NSFunctionKeyMask
};

Description:
These are device-independent bits found in event modifier flags.


NSEvent-Types Defined by the Application Kit

Declared In:
AppKit/NSEvent.h

Synopsis:

enum {
NSWindowExposedEventType,
NSApplicationActivatedEventType,
NSApplicationDeactivatedEventType,
NSWindowMovedEventType,
NSScreenChangedEventType
};

Description:
These constants represent the types of events defined by the Application Kit.

Constant Meaning
NSWindowExposedEventType A nonretained NSWindow has been exposed
NSApplicationActivatedEventType The application has been activated
NSApplicationDeactivatedEventType The application has been deactivated
NSWindowMovedEventType An NSWindow has moved
NSScreenChangedEventType An NSWindow has changed screens


NSEvent-Types Defined by the System

Declared In:
AppKit/NSEvent.h

Synopsis:

enum {
NSPowerOffEventType
};

Description:
This constant means that the user is turning off the computer.


NSFont-Traits

Declared In:
AppKit/NSFontManager.h

Synopsis:

enum {
NSItalicFontMask,
NSBoldFontMask,
NSUnboldFontMask,
NSNonStandardCharacterSetFontMask,
NSNarrowFontMask,
NSExpandedFontMask,
NSCondensedFontMask,
NSSmallCapsFontMask,
NSPosterFontMask,
NSCompressedFontMask,
NSFixedPitchFontMask,
NSUnitalicFontMask
};

Description:
These constants are used by the NSFontManager to identify font traits. Some traits are mutually exclusive, such as NSExpandedFontMask and NSCondensedFontMask.


NSFontPanel-Tags for Subviews

Declared In:
AppKit/NSFontPanel.h

Synopsis:

enum {
NSFPPreviewButton,
NSFPRevertButton,
NSFPSetButton,
NSFPPreviewField,
NSFPSizeField,
NSFPSizeTitle,
NSFPCurrentField
};

Description:
These tags identify the NSViews within an NSFontPanel.


NSGlyph-Attributes

Declared In:
AppKit/NSLayoutManager.h

Synopsis:

enum _NSGlyphAttribute {
NSGlyphAttributeSoft,
NSGlyphAttributeElastic,
NSGlyphAttributeInscribe
};

Description:
These glyph attributes are used only inside the glyph generation machinery, but must be shared between components.


NSGlyph-Reserved Glyph Codes

Declared In:
AppKit/NSFont.h

Synopsis:

enum {
NSControlGlyph = 0x00FFFFFF,
NSNullGlyph = 0x0
};

Description:
These two values are reserved for the two named NSGlyphs.


NSImageRep-Display Device Matching

Declared In:
AppKit/NSImageRep.h

Synopsis:

enum {
NSImageRepMatchesDevice
};

Description:
This constant is used by NSImageRep to indicate that the value of certain attributes, such as the number of colors, or bits-per-sample, will change to match the display device. See the NSImageRep class specification for more information.


NSPageLayoutPanel-Tags for Controls

Declared In:
AppKit/NSPageLayout.h

Synopsis:

enum {
NSPLImageButton,
NSPLTitleField,
NSPLPaperNameButton,
NSPLUnitsButton,
NSPLWidthForm,
NSPLHeightForm,
NSPLOrientationMatrix,
NSPLCancelButton,
NSPLOKButton
};

Description:
These constants represent the tag values of the controls displayed by an NSPageLayoutPanel.


NSPanel-Alert Panel Return Values

Declared In:
AppKit/NSPanel.h

Synopsis:

enum {
NSAlertDefaultReturn,
NSAlertAlternateReturn,
NSAlertOtherReturn,
NSAlertErrorReturn
};

Description:
These constants define values returned by the NSRunAlertPanel function and by the NSApplication method runModalSession: when the modal session is run with an NSPanel provided by the NSGetAlertPanel function.


NSPanel-Modal Panel Return Values

Declared In:
AppKit/NSPanel.h

Synopsis:

enum {
NSOKButton,
NSCancelButton
};

Description:
These are the possible return values for such methods as the runModal... methods of NSOpenPanel, which tells which button (OK or Cancel) the user has clicked on an open panel. For other uses of these return values, see the class descriptions for NSPageLayout, NSPrintPanel and NSSavePanel.


NSPrintPanel-Tags for Subviews

Declared In:
AppKit/NSPrintPanel.h

Synopsis:

enum {
NSPPSaveButton,
NSPPPreviewButton,
NSFaxButton,
NSPPTitleField,
NSPPImageButton,
NSPPNameTitle,
NSPPNameField,
NSPPNoteTitle,
NSPPNoteField,
NSPPStatusTitle,
NSPPStatusField,
NSPPCopiesField,
NSPPPageChoiceMatrix,
NSPPPageRangeFrom,
NSPPPageRangeTo,
NSPPScaleField,
NSPPOptionsButton,
NSPPPaperFeedButton,
NSPPLayoutButton
};

Description:
These constants define tags for identifying the NSViews in a print panel in environments other than Microsoft Windows. Windows has its own way of handling print panels.


NSRunLoop-Ordering Modes for NSApplication

Declared In:
AppKit/NSApplication.h

Synopsis:

enum {
NSUpdateWindowsRunLoopOrdering
};

Description:
This constants is used with NSRunLoop's performSelector:target:argument:order:modes: method.


NSRunLoop-Ordering Mode for NSDPSServerContext

Declared In:
AppKit/NSDPSServerContext.h

Synopsis:

enum {
DPSFlushContextRunLoopOrdering
};

Description:
This constants is used with NSRunLoop's method performSelector:target:argument:order:modes:.


NSRunLoop-Ordering Modes for NSWindow

Declared In:
AppKit/NSWindow.h

Synopsis:

enum {
NSDisplayWindowRunLoopOrdering,
NSResetCursorRectsRunLoopOrdering
};

Description:
These constants are passed to NSRunLoop's method performSelector:target:argument:order:modes:.


NSSavePanel-Tags for Subviews

Declared In:
AppKit/NSSavePanel.h

Synopsis:

enum {
NSFileHandlingPanelImageButton,
NSFileHandlingPanelTitleField,
NSFileHandlingPanelBrowser,
NSFileHandlingPanelCancelButton,
NSFileHandlingPanelOKButton,
NSFileHandlingPanelForm,
NSFileHandlingPanelHomeButton,
NSFileHandlingPanelDiskButton,
NSFileHandlingPanelDiskEjectButton
};

Description:
These constants define tags for identifying NSViews in an NSSavePanel.


NSTextAttachment-Attachment Character

Declared In:
AppKit/NSTextAttachment.h

Synopsis:

enum {
NSAttachmentCharacter = 0xfffc
};
Declared In:
This Unicode indicates the presence of an attachment in an NSAttributedString. For more information, see the Class Cluster Description of NSAttributedStringAdditions.


NSText-Important Unicodes

Declared In:
AppKit/NSText.h

Synopsis:

enum {
NSParagraphSeparatorCharacter = 0x2029,
NSLineSeparatorCharacter = 0x2028,
NSTabCharacter = 0x0009,
NSFormFeedCharacter = 0x000c,
NSNewlineCharacter = 0x000a,
NSCarriageReturnCharacter = 0x000d,
NSEnterCharacter = 0x0003,
NSBackspaceCharacter = 0x0008,
NSBackTabCharacter = 0x0019,
NSDeleteCharacter = 0x007f,
};

Description:
These constants specify several commonly-used Unicode characters.


NSText-Movement Codes

Declared In:
AppKit/NSText.h

Synopsis:

enum {
NSIllegalTextMovement,
NSReturnTextMovement,
NSTabTextMovement,
NSBacktabTextMovement,
NSLeftTextMovement,
NSRightTextMovement,
NSUpTextMovement,
NSDownTextMovement
};

Description:
These constants are the codes for movement between fields. They are the possible int values for the NSTextMovement key of NSTextDidEndEditingNotification. For more information, see the "Notifications" section of the NSText class specification.


NSTextStorage-Editing

Declared In:
AppKit/NSTextStorage.h

Synopsis:

enum {
NSTextStorageEditedAttributes,
NSTextStorageEditedCharacters
};

Description:
These values, which may be combined by a bitwise OR, help describe the changes that an editing session has made to an NSTextStorage object. They are the return values of the NSTextStorage method editedMask, and the parameter values for the second slot of the NSLayoutManager method textStorage:edited:....


NSView-Resizing

Declared In:
AppKit/NSView.h

Synopsis:

enum {
NSViewNotSizable,
NSViewMinXMargin,
NSViewWidthSizable,
NSViewMaxXMargin,
NSViewMinYMargin,
NSViewHeightSizable,
NSViewMaxYMargin
};

Description:
Used to describe which parts of an NSView (or its margins) are resized when the NSView's superNSView is resized. See the NSView class specification for details.


NSWindow-Border Masks

Declared In:
AppKit/NSWindow.h

Synopsis:

enum {
NSBorderlessWindowMask,
NSTitledWindowMask,
NSClosableWindowMask,
NSMiniaturizableWindowMask,
NSResizableWindowMask
};

Description:
These determine the presence of a title and various buttons in an NSWindow's border.


NSWindow-Window Levels

Declared In:
AppKit/NSWindow.h

Synopsis:

enum {
NSNormalWindowLevel,
NSFloatingWindowLevel,
NSDockWindowLevel,
NSSubmenuWindowLevel,
NSTornOffMenuWindowLevel,
NSMainMenuWindowLevel,
NSModalPanelWindowLevel,
NSPopUpMenuWindowLevel
};

Description:
These constants name the Application Kit's window levels. The stacking of levels takes precedence over the stacking of windows within each level. That is, even the bottom window in a level will obscure even the top window of the next level down.

The constant NSTornOffMenuWindowLevel is preferable to its synonym, NSSubmenuWindowLevel.

Global Variables


Application Kit-Exceptions

Declared In:
AppKit/NSErrors.h

Synopsis:

NSString *NSTextLineTooLongException;
NSString *NSTextNoSelectionException;
NSString *NSWordTablesWriteException;
NSString *NSWordTablesReadException;
NSString *NSTextReadException;
NSString *NSTextWriteException;
NSString *NSPasteboardCommunicationException;
NSString *NSPrintingCommunicationException;
NSString *NSAbortModalException;
NSString *NSAbortPrintingException;
NSString *NSIllegalSelectorException;
NSString *NSAppKitVirtualMemoryException;
NSString *NSBadRTFDirectiveException;
NSString *NSBadRTFFontTableException;
NSString *NSBadRTFStyleSheetException;
NSString *NSTypedStreamVersionException;
NSString *NSTIFFException;
NSString *NSPrintPackageException;
NSString *NSBadRTFColorTableException;
NSString *NSDraggingException;
NSString *NSColorListIOException;
NSString *NSColorListNotEditableException;
NSString *NSBadBitmapParametersException;
NSString *NSWindowServerCommunicationException;
NSString *NSFontUnavailableException;
NSString *NSPPDIncludeNotFoundException;
NSString *NSPPDParseException;
NSString *NSPPDIncludeStackOverflowException;
NSString *NSPPDIncludeStackUnderflowException;
NSString *NSRTFPropertyStackOverflowException;
NSString *NSAppKitIgnoredException;
NSString *NSBadComparisonException;
NSString *NSImageCacheException;
NSString *NSNibLoadingException;
NSString *NSBrowserIllegalDelegateException;

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


Display Device-Descriptions

Declared In:
AppKit/NSGraphics.h

Synopsis:

NSString *NSDeviceResolution;
NSString *NSDeviceColorSpaceName;
NSString *NSDeviceBitsPerSample;
NSString *NSDeviceIsScreen;
NSString *NSDeviceIsPrinter;
NSString *NSDeviceSize;

Description:
These are the keys for device description dictionaries, such as those returned by the deviceDictionary methods of NSPrinter, NSScreen and NSWindow.

NSDeviceResolution is an NSValue containing an NSSize in dots per inch. NSColorSpaceName is an NSString describing the color space of the device. NSDeviceBitsPerSample is an NSValue containing an int. NSDeviceIsScreen and NSDeviceIsPrinter are boolean values that tell whether the device is a screen or a printer. NSDeviceSize is an NSValue containing an NSSize that represents the device's size in points.


NSApplication-Notifications

Declared In:
AppKit/NSApplication.h

Synopsis:

NSString *NSApplicationDidBecomeActiveNotification;
NSString *NSApplicationDidFinishLaunchingNotification;
NSString *NSApplicationDidHideNotification;
NSString *NSApplicationDidResignActiveNotification;
NSString *NSApplicationDidUnhideNotification;
NSString *NSApplicationDidUpdateNotification;
NSString *NSApplicationWillBecomeActiveNotification;
NSString *NSApplicationWillFinishLaunchingNotification;
NSString *NSApplicationWillHideNotification;
NSString *NSApplicationWillResignActiveNotification;
NSString *NSApplicationWillUnhideNotification;
NSString *NSApplicationWillUpdateNotification;
NSString *NSApplicationWillTerminateNotification;
Declared In:
These are the notifications used with the methods of the NSApplicationNotifications category of NSObject.


NSApplication-Shared Application Object

Declared In:
AppKit/NSApplication.h

Synopsis:

id NSApp;

Description:
This variable designates the shared application object, created by NSApplication's sharedApplication method.


NSAttributedString-Attributes

Declared In:
AppKit/NSAttributedString.h

Synopsis:

 NSString *NSFontAttributeName;
NSString *NSParagraphStyleAttributeName;
NSString *NSForegroundColorAttributeName;
NSString *NSUnderlineStyleAttributeName;
NSString *NSSuperscriptAttributeName;
NSString *NSBackgroundColorAttributeName;
NSString *NSAttachmentAttributeName;
NSString *NSLigatureAttributeName;
NSString *NSBaselineOffsetAttributeName;
NSString *NSKernAttributeName;

Description:
These strings define the supported attributes of NSAttributedStrings. For more information, see the "Accessing Attributes" section in the NSAttributedString class cluster specification.


NSComboBox-Notifications

Declared In:
AppKit/NSComboBox.h

Synopsis:

NSString *NSComboBoxWillPopUpNotification;
NSString *NSComboBoxWillDismissNotification;
NSString *NSComboBoxSelectionDidChangeNotification;
NSString *NSComboBoxSelectionIsChangingNotification;

Description:
These notifications are sent by NSComboBoxes.


NSColor-Color Space Names

Declared In:
AppKit/NSGraphics.h

Synopsis:

NSString *NSCalibratedWhiteColorSpace;
NSString *NSCalibratedBlackColorSpace;
NSString *NSCalibratedRGBColorSpace;
NSString *NSDeviceWhiteColorSpace;
NSString *NSDeviceBlackColorSpace;
NSString *NSDeviceRGBColorSpace;
NSString *NSDeviceCMYKColorSpace;
NSString *NSNamedColorSpace;
NSString *NSCustomColorSpace;

Description:
These are the predefined names for color spaces. In the two ...WhiteColorSpaces, white corresponds to a value of 1.0. In the two ...BlackColorSpaces, black corresponds to a value of 1.0. NSNamedColorSpace is used for "catalog" colors-that is, colors specified by names rather than coordinates. NSCustomColorSpace indicates a custom color space, which can be useful in working with images; unlike the other color spaces, NSCustomColorSpace is not used with NSColors.


NSColor-Grayscale Values

Declared In:
AppKit/NSGraphics.h

Synopsis:

const float NSWhite;
const float NSLightGray;
const float NSDarkGray;
const float NSBlack;

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


NSColor-Notifications

Declared In:
AppKit/NSColor.h

Synopsis:

NSString *NSSystemColorsDidChangeNotification;

Description:
This notification is sent when the system colors have been changed (such as through a system control panel interface). For more on system colors, see the "System Colors" section of the NSColor class specification.


NSColorList-Notifications

Declared In:
AppKit/NSColorList.h

Synopsis:

NSString *NSColorListDidChangeNotification;

Description:
When an NSColorList changes, it posts this notification.


NSColorPanel-Notifications

Declared In:
AppKit/NSColorPanel.h

Synopsis:

NSString *NSColorPanelColorDidChangeNotification;

Description:
When an NSColorPanel changes, it posts this notification.


NSControl-Notifications

Declared In:
AppKit/NSControl.h

Synopsis:

NSString *NSControlTextDidBeginEditingNotification;
NSString *NSControlTextDidEndEditingNotification;
NSString *NSControlTextDidChangeNotification;

Description:
NSControls containing editable text can send these notifications. For more information, see the "Notifications" section of the NSControl class specification.


NSDataLink-Filename Extension

Declared In:
AppKit/NSDataLink.h

Synopsis:

NSString *NSDataLinkFilenameExtension;

Description:
NSDataLinkFilenameExtension is the filename extension used for links saved to files using NSDataLink's saveLinkIn: or writeToFile: methods.


NSFont-Keys to the AFM Dictionary

Declared In:
AppKit/NSFont.h

Synopsis:

NSString *NSAFMFamilyName;
NSString *NSAFMFontName;
NSString *NSAFMFormatVersion;
NSString *NSAFMFullName;
NSString *NSAFMNotice;
NSString *NSAFMVersion;
NSString *NSAFMWeight;
NSString *NSAFMEncodingScheme;
NSString *NSAFMCharacterSet;
NSString *NSAFMCapHeight;
NSString *NSAFMXHeight;
NSString *NSAFMAscender;
NSString *NSAFMDescender;
NSString *NSAFMUnderlinePosition;
NSString *NSAFMUnderlineThickness;
NSString *NSAFMItalicAngle;
NSString *NSAFMMappingScheme;

Description:
These are the keys to the font information dictionary returned by NSFont's afmDictionary method. To convert values like NSAFMCapHeight to floats, use NSString's floatValue method.

For other font information, use NSFont's afmFileContents method.


NSFont-PostScript Transformation Matrix

Declared In:
AppKit/NSFont.h

Synopsis:

const float *NSFontIdentityMatrix;

Description:
NSFontIdentityMatrix is a PostScript transformation matrix useful as a parameter to the NSFont method fontWithName:matrix:.


NSHelpManager-Notifications

Declared In:
AppKit/NSHelpManager.h

Synopsis:

NSString *NSContextHelpModeDidActivateNotification;
NSString *NSContextHelpModeDidDeactivateNotification;

Description:
These are notifications for the activation and deactivation of the context help mode.


NSImageRep-Notifications

Declared In:
AppKit/NSImageRep.h

Synopsis:

NSString *NSImageRepRegistryDidChangeNotification;

Description:
This notification is sent when the NSImageRep class registry changes.


NSInterfaceStyleDefault

Declared In:
AppKit/NSInterfaceStyle.h

Synopsis:

NSString *NSInterfaceStyleDefault;

Description:
NSInterfaceStyleDefault can be used to override the platform's default interface style. For more information, see the function NSInterfaceStyleForKey.


NSPasteboard-Names

Declared In:
AppKit/NSPasteboard.h

Synopsis:

NSString *NSGeneralPboard;
NSString *NSFontPboard;
NSString *NSRulerPboard;
NSString *NSFindPboard;
NSString *NSDragPboard;

Description:
Some standard pasteboard names. See the NSPasteboard class specification for more information.


NSPasteboard-Type for Data Links

Declared In:
AppKit/NSDataLink.h

Synopsis:

NSString *NSDataLinkPboardType;

Description:
A pasteboard type for copying a data link to the pasteboard. See the NSDataLink class specification for more information.


NSPasteboard-Type for Selection Descriptions

Declared In:
AppKit/NSSelection.h

Synopsis:

NSString *NSSelectionPboardType;

Description:
A pasteboard type for copying selection descriptions to the pasteboard. See the NSSelection class specification for more information.


NSPasteboard-Types for Standard Data

Declared In:
AppKit/NSPasteboard.h

Synopsis:

NSString *NSStringPboardType;
NSString *NSFilenamesPboardType;
NSString *NSPostScriptPboardType;
NSString *NSTIFFPboardType;
NSString *NSRTFPboardType;
NSString *NSTabularTextPboardType;
NSString *NSFontPboardType;
NSString *NSRulerPboardType;
NSString *NSFileContentsPboardType;
NSString *NSColorPboardType;
NSString *NSRTFDPboardType;

Description:
Some standard pasteboard data types. See the NSPasteboard class specification for more information.


NSPrintInfo-Dictionary Keys

Declared In:
AppKit/NSPrintInfo.h

Synopsis:

NSString *NSPrintPaperName;
NSString *NSPrintPaperSize;
NSString *NSPrintFormName;
NSString *NSPrintMustCollate;
NSString *NSPrintOrientation;
NSString *NSPrintLeftMargin;
NSString *NSPrintRightMargin;
NSString *NSPrintTopMargin;
NSString *NSPrintBottomMargin;
NSString *NSPrintHorizontallyCentered;
NSString *NSPrintVerticallyCentered;
NSString *NSPrintHorizontalPagination;
NSString *NSPrintVerticalPagination;
NSString *NSPrintScalingFactor;
NSString *NSPrintAllPages;
NSString *NSPrintReversePageOrder;
NSString *NSPrintFirstPage;
NSString *NSPrintLastPage;
NSString *NSPrintCopies;
NSString *NSPrintPagesPerSheet;
NSString *NSPrintJobFeatures;
NSString *NSPrintPaperFeed;
NSString *NSPrintManualFeed;
NSString *NSPrintPrinter;
NSString *NSPrintJobDisposition;
NSString *NSPrintSavePath;
NSString *NSPrintFaxReceiverNames;
NSString *NSPrintFaxReceiverNumbers;
NSString *NSPrintFaxSendTime;
NSString *NSPrintFaxUseCoverSheet;
NSString *NSPrintFaxCoverSheetName;
NSString *NSPrintFaxReturnReceipt;
NSString *NSPrintFaxHighResolution;
NSString *NSPrintFaxTrimPageEnds;
NSString *NSPrintFaxModem;
NSString *NSPrintSpoolJob;
NSString *NSPrintFaxJob;
NSString *NSPrintPreviewJob;
NSString *NSPrintSaveJob;
NSString *NSPrintCancelJob;

Description:
These are the keys to the NSPrintInfo NSDictionary. For a table explaining them, see the NSPrintInfo method initWithDictionary:.


NSPopUpButton-Notification

Declared In:
AppKit/NSPopUpButton.h

Synopsis:

NSString *NSPopUpButtonWillPopUpNotification;

Description:
NSPopUpButton sends this notification when an instance of it is about to pop up.


NSPrintOperation-Exception

Declared In:
AppKit/NSPrintOperation.h

Synopsis:

NSString *NSPrintOperationExistsException;

Description:
This exception is raised when there is already a print operation in process. The methods that raise it are the EPSOperation... and printOperation... methods in NSPrintOperation:


NSRunLoop-Modes

Declared In:
AppKit/NSApplication.h

Synopsis:

NSString *NSModalPanelRunLoopMode;
NSString *NSEventTrackingRunLoopMode;

Description:
These are modes passed to NSRunLoop


NSSplitView-Notifications

Declared In:
AppKit/NSSplitView.h

Synopsis:

NSString *NSSplitViewDidResizeSubviewsNotification;
NSString *NSSplitViewWillResizeSubviewsNotification;

Description:
These are the notifications that an NSSplitView can send.


NSTableView-Notifications

Declared In:
AppKit/NSTableView.h

Synopsis:

NSString *NSTableViewSelectionDidChangeNotification;
NSString *NSTableViewColumnDidMoveNotification;
NSString *NSTableViewColumnDidResizeNotification;
NSString *NSTableViewSelectionIsChangingNotification;

Description:
These are the notifications that an NSTableView can send.


NSText-Notifications

Declared In:
AppKit/NSText.h

Synopsis:

NSString *NSTextDidBeginEditingNotification;
NSString *NSTextDidEndEditingNotification;
NSString *NSTextDidChangeNotification;

Description:
These notifications can be sent by an NSText object. For explanations, see the "Notifications" section of the NSText class specification.


NSTextStorage-Notifications

Declared In:
AppKit/NSTextStorage.h

Synopsis:

NSString *NSTextStorageWillProcessEditingNotification;
NSString *NSTextStorageDidProcessEditingNotification;

Description:
These notifications can be sent by an NSTextStorage object. For explanations, see the "Notifications" section of the NSTextStorage class specification.


NSTextView-Notifications

Declared In:
AppKit/NSTextView.h

Synopsis:

NSString *NSTextViewWillChangeNotifyingTextViewNotification;
NSString *NSTextViewDidChangeSelectionNotification;

Description:
These notifications can be sent by an NSTextView object. For explanations, see the "Notifications" section of the NSTextView class specification.

The notifications that NSTextView most often sends are the ones that it inherits from NSText.


NSView-Notifications

Declared In:
AppKit/NSView.h

Synopsis:

NSString *NSViewFrameDidChangeNotification;
NSString *NSViewFocusDidChangeNotification;
NSString *NSViewBoundsDidChangeNotification;

Description:
These notifications are sent by NSViews.

The last notification, NSViewBoundsDidChangeNotification, is sent when the view bounds change but the frame does not. That is, it is sent whenever the view's bounds are translated, scaled or rotated, but not when the bounds change in response to, say, a setFrameSize: message.


NSWindow-Notifications

Declared In:
AppKit/NSWindow.h

Synopsis:

NSString *NSWindowDidBecomeKeyNotification;
NSString *NSWindowDidBecomeMainNotification;
NSString *NSWindowDidChangeScreenNotification;
NSString *NSWindowDidDeminiaturizeNotification;
NSString *NSWindowDidExposeNotification;
NSString *NSWindowDidMiniaturizeNotification;
NSString *NSWindowDidMoveNotification;
NSString *NSWindowDidResignKeyNotification;
NSString *NSWindowDidResignMainNotification;
NSString *NSWindowDidResizeNotification;
NSString *NSWindowDidUpdateNotification;
NSString *NSWindowWillCloseNotification;
NSString *NSWindowWillMiniaturizeNotification;
NSString *NSWindowWillMoveNotification;

Description:
These are the notifications that can be sent by an NSWindow object. For explanations, see the "Notifications" section of the NSWindow class specification.


NSWindow-Sizes

Declared In:
AppKit/NSWindow.h

Synopsis:

NSSize NSIconSize;
NSSize NSTokenSize;

Description:
On some platforms, a token is a bezeled tile used to represent a docked application or a miniaturized document, and an icon is the image drawn inside a token.

On platforms that support tokens and icons, these size constants can be used for drawing inside them. It is more portable, however, to change an icon by using the NSApplication method setApplicationIconImage: or the NSWindow method setMiniwindowImage:.


NSWorkspace-File Operation Constants

Declared In:
AppKit/NSWorkspace.h

Synopsis:

NSString *NSWorkspaceMoveOperation;
NSString *NSWorkspaceCopyOperation;
NSString *NSWorkspaceLinkOperation;
NSString *NSWorkspaceCompressOperation;
NSString *NSWorkspaceDecompressOperation;
NSString *NSWorkspaceEncryptOperation;
NSString *NSWorkspaceDecryptOperation;
NSString *NSWorkspaceDestroyOperation;
NSString *NSWorkspaceRecycleOperation;
NSString *NSWorkspaceDuplicateOperation;

Description:
These constants define possible values for the operation slot in NSWorkspace's performFileOperation:... method.


NSWorkspace-File Types

Declared In:
AppKit/NSWorkspace.h

Synopsis:

NSString *NSPlainFileType;
NSString *NSDirectoryFileType;
NSString *NSApplicationFileType;
NSString *NSFilesystemFileType;
NSString *NSShellCommandFileType;

Description:
These values are used in the final parameter slot of the NSWorkspace method getInfoForFile:application:type:.


NSWorkspace-Notifications

Declared In:
AppKit/NSWorkspace.h

Synopsis:

NSString *NSWorkspaceDidLaunchApplicationNotification;
NSString *NSWorkspaceDidMountNotification;
NSString *NSWorkspaceDidPerformFileOperationNotification;
NSString *NSWorkspaceDidTerminateApplicationNotification;
NSString *NSWorkspaceDidUnmountNotification;
NSString *NSWorkspaceWillLaunchApplicationNotification;
NSString *NSWorkspaceWillPowerOffNotification;
NSString *NSWorkspaceWillUnmountNotification;

Description:
These notifications come through the special notification center. For more information, see the "Notifications" section of the NSWorkspace class specification.



[TOC] [Prev] [Next]

Copyright © 1997, Apple Computer, Inc. All rights reserved.