Classes

NSAccessibilityCustomAction
NSAccessibilityCustomRotor
NSAccessibilityCustomRotorItemResult
NSAccessibilityElement
NSActionCell
NSAlert
NSAnimation
NSAnimationContext
NSAppearance
NSApplication
NSArrayController
NSBezierPath
NSBitmapImageRep
NSBox
NSBrowser
NSBrowserCell
NSButton
NSButtonCell
NSButtonTouchBarItem
NSCIImageRep
NSCachedImageRep
NSCandidateListTouchBarItem
NSCell
NSClickGestureRecognizer
NSClipView
NSCollectionView
NSCollectionViewCompositionalLayout
NSCollectionViewFlowLayout
NSCollectionViewFlowLayoutInvalidationContext
NSCollectionViewGridLayout
NSCollectionViewItem
NSCollectionViewLayout
NSCollectionViewLayoutAttributes
NSCollectionViewLayoutInvalidationContext
NSCollectionViewTransitionLayout
NSCollectionViewUpdateItem
NSColor
NSColorList
NSColorPanel
NSColorPicker
NSColorPickerTouchBarItem
NSColorSampler
NSColorSpace
NSColorWell
NSComboBox
NSComboBoxCell
NSControl
NSController
NSCursor
NSCustomImageRep
NSCustomTouchBarItem
NSDataAsset
NSDataLink
NSDataLinkManager
NSDataLinkPanel
NSDatePicker
NSDatePickerCell
NSDockTile
NSDocument
NSDocumentController
NSDrawer
NSDrawerDelegate
NSEPSImageRep
NSEvent
NSFont
NSFontAssetRequest
NSFontCollection
NSFontDescriptor
NSFontManager
NSFontPanel
NSForm
NSFormCell
NSGestureRecognizer
NSGlyphGenerator
NSGlyphInfo
NSGradient
NSGraphicsContext
NSGridCell
NSGridColumn
NSGridRow
NSGridView
NSGroupTouchBarItem
NSHelpManager
NSHelpPanel
NSImage
NSImageCell
NSImageRep
NSImageView
NSInputManager
NSInputServer
NSLayoutAnchor
NSLayoutConstraint
NSLayoutDimension
NSLayoutGuide
NSLayoutManager
NSLayoutXAxisAnchor
NSLayoutYAxisAnchor
NSLevelIndicator
NSLevelIndicatorCell
NSMagnificationGestureRecognizer
NSMatrix
NSMediaLibraryBrowserController
NSMenu
NSMenuItem
NSMenuItemCell
NSMenuView
NSMovie
NSMovieView
NSMutableFontCollection
NSMutableParagraphStyle
NSNib
NSNibConnector
NSNibControlConnector
NSNibOutletConnector
NSObjectController
NSOpenGLContext
NSOpenGLPixelFormat
NSOpenGLView
NSOpenPanel
NSOutlineView
NSPDFImageRep
NSPDFInfo
NSPDFPanel
NSPICTImageRep
NSPageController
NSPageLayout
NSPanGestureRecognizer
NSPanel
NSParagraphStyle
NSPasteboard
NSPasteboardItem
NSPathCell
NSPathComponentCell
NSPathControl
NSPathControlItem
NSPersistentDocument
NSPickerTouchBarItem
NSPopUpButton
NSPopUpButtonCell
NSPopover
NSPopoverTouchBarItem
NSPredicateEditor
NSPredicateEditorRowTemplate
NSPressGestureRecognizer
NSPrintInfo
NSPrintOperation
NSPrintPanel
NSPrinter
NSProgressIndicator
NSResponder
NSRotationGestureRecognizer
NSRuleEditor
NSRulerMarker
NSRulerView
NSRunningApplication
NSSavePanel
NSScreen
NSScrollView
NSScroller
NSScrubber
NSScrubberArrangedView
NSScrubberItemView
NSScrubberLayout
NSScrubberLayoutAttributes
NSSearchField
NSSearchFieldCell
NSSecureTextField
NSSecureTextFieldCell
NSSegmentedCell
NSSegmentedControl
NSSelection
NSShadow
NSSharingService
NSSharingServicePicker
NSSharingServicePickerToolbarItem
NSSharingServicePickerTouchBarItem
NSSlider
NSSliderAccessory
NSSliderAccessoryBehavior
NSSliderCell
NSSliderTouchBarItem
NSSound
NSSpeechRecognizer
NSSpeechSynthesizer
NSSpellChecker
NSSplitView
NSSplitViewController
NSSplitViewItem
NSStackView
NSStatusBar
NSStatusBarButton
NSStatusItem
NSStepper
NSStepperCell
NSStepperTouchBarItem
NSStoryboard
NSStoryboardSegue
NSSwitch
NSTabView
NSTabViewController
NSTabViewItem
NSTableColumn
NSTableHeaderCell
NSTableHeaderView
NSTableView
NSText
NSTextAlternatives
NSTextAttachment
NSTextAttachmentCell
NSTextBlock
NSTextCheckingController
NSTextContainer
NSTextField
NSTextFieldCell
NSTextFinder
NSTextInputContext
NSTextList
NSTextStorage
NSTextTab
NSTextTable
NSTextTableBlock
NSTextView
NSTitlebarAccessoryViewController
NSTokenField
NSTokenFieldCell
NSToolbar
NSToolbarItem
NSToolbarItemGroup
NSTouch
NSTouchBar
NSTouchBarItem
NSTrackingArea
NSTreeController
NSTreeNode
NSUserDefaultsController
NSUserInterfaceCompressionOptions
NSView
NSViewAnimation
NSViewController
NSVisualEffectView
NSWindow
NSWindowController
NSWorkspace

Protocols

<GSImageDelegateProtocol>
<NSAccessibility>
<NSAccessibilityButton>
<NSAccessibilityCheckBox>
<NSAccessibilityContainsTransientUI>
<NSAccessibilityCustomRotorItemSearchDelegate>
<NSAccessibilityElement>
<NSAccessibilityElementLoading>
<NSAccessibilityGroup>
<NSAccessibilityImage>
<NSAccessibilityLayoutArea>
<NSAccessibilityLayoutItem>
<NSAccessibilityList>
<NSAccessibilityLoadingToken>
<NSAccessibilityNavigableStaticText>
<NSAccessibilityOutline>
<NSAccessibilityProgressIndicator>
<NSAccessibilityRadioButton>
<NSAccessibilityRow>
<NSAccessibilitySlider>
<NSAccessibilityStaticText>
<NSAccessibilityStepper>
<NSAccessibilitySwitch>
<NSAccessibilityTable>
<NSAlertDelegate>
<NSAnimationDelegate>
<NSAppearanceCustomization>
<NSApplicationDelegate>
<NSBrowserDelegate>
<NSChangeSpelling>
<NSCollectionViewDataSource>
<NSCollectionViewDelegate>
<NSCollectionViewDelegateFlowLayout>
<NSCollectionViewElement>
<NSCollectionViewPrefetching>
<NSColorPickingCustom>
<NSColorPickingDefault>
<NSComboBoxCellDataSource>
<NSComboBoxDataSource>
<NSComboBoxDelegate>
<NSControlTextEditingDelegate>
<NSDraggingInfo>
<NSDraggingSource>
<NSGestureRecognizerDelegate>
<NSGlyphStorage>
<NSIgnoreMisspelledWords>
<NSInputServerMouseTracker>
<NSInputServiceProvider>
<NSMatrixDelegate>
<NSMenuDelegate>
<NSMenuItem>
<NSMenuValidation>
<NSMenuView>
<NSOpenSavePanelDelegate>
<NSOutlineViewDataSource>
<NSOutlineViewDelegate>
<NSPageControllerDelegate>
<NSPasteboardItemDataProvider>
<NSPasteboardReading>
<NSPasteboardWriting>
<NSPathCellDelegate>
<NSPathControlDelegate>
<NSPopoverDelegate>
<NSPrintPanelAccessorizing>
<NSRuleEditorDelegate>
<NSSeguePerforming>
<NSSharingServiceDelegate>
<NSSharingServicePickerDelegate>
<NSSharingServicePickerToolbarItemDelegate>
<NSSpeechRecognizerDelegate>
<NSSpeechSynthesizerDelegate>
<NSSplitViewDelegate>
<NSStackViewDelegate>
<NSTabViewDelegate>
<NSTableViewDataSource>
<NSTableViewDelegate>
<NSTextAttachmentCell>
<NSTextCheckingClient>
<NSTextFieldDelegate>
<NSTextFinderBarContainer>
<NSTextFinderClient>
<NSTextInput>
<NSTextInputClient>
<NSTextInputTraits>
<NSTextViewDelegate>
<NSUserInterfaceCompression>
<NSUserInterfaceItemIdentification>
<NSUserInterfaceItemSearching>
<NSUserInterfaceValidations>
<NSValidatedUserInterfaceItem>
<NSWindowDelegate>
<NSWindowRestoration>
(NSAlertDelegate)
(NSAnimation)
(NSApplicationDelegate)
(NSBrowserDelegate)
(NSComboBoxCellDataSource)
(NSControlDelegate)
(NSControlTextEditingDelegate)
(NSDataLinkManagerDelegate)
(NSDataPickerCellDelegate)
(NSDraggingDestination)
(NSDraggingSource)
(NSDraggingSource107)
(NSEditor)
(NSEditorRegistration)
(NSFontManagerDelegate)
(NSFontPanelValidation)
(NSGestureRecognizerDelegate)
(NSMenuActionResponder)
(NSMenuDelegate)
(NSNibAwaking)
(NSOpenSavePanelDelegate)
(NSPasteboardItemDataProvider)
(NSPasteboardOwner)
(NSPasteboardReading)
(NSPasteboardWriting)
(NSPlaceholder)
(NSPopoverDelegate)
(NSRulerViewClientView)
(NSSavePanelDelegate)
(NSServicesRequests)
(NSSoundDelegate)
(NSSpeechSynthesizerDelegate)
(NSSplitViewDelegate)
(NSTableDataSource)
(NSTableViewDelegate)
(NSTextDelegate)
(NSTextStorageDelegate)
(NSTextViewDelegate)
(NSToolbarDelegate)
(NSToolbarItemValidation)
(NSWindowDelegate)
(NSWindowDelegateAdditions)

Constants

GSSixteenBitRGBDepth
NSAccessibilityActivationPointAttribute
NSAccessibilityAllowedValuesAttribute
NSAccessibilityAlternateUIVisibleAttribute
NSAccessibilityAnnouncementKey
NSAccessibilityAnnouncementRequestedNotification
NSAccessibilityApplicationActivatedNotification
NSAccessibilityApplicationDeactivatedNotification
NSAccessibilityApplicationHiddenNotification
NSAccessibilityApplicationRole
NSAccessibilityApplicationShownNotification
NSAccessibilityAscendingSortDirectionValue
NSAccessibilityAttachmentTextAttribute
NSAccessibilityAttributedStringForRangeParameterizedAttribute
NSAccessibilityAutocorrectedTextAttribute
NSAccessibilityBackgroundColorTextAttribute
NSAccessibilityBoundsForRangeParameterizedAttribute
NSAccessibilityBrowserRole
NSAccessibilityBusyIndicatorRole
NSAccessibilityButtonRole
NSAccessibilityCancelAction
NSAccessibilityCancelButtonAttribute
NSAccessibilityCellForColumnAndRowParameterizedAttribute
NSAccessibilityCellRole
NSAccessibilityCenterTabStopMarkerTypeValue
NSAccessibilityCentimetersUnitValue
NSAccessibilityCheckBoxRole
NSAccessibilityChildrenAttribute
NSAccessibilityClearButtonAttribute
NSAccessibilityCloseButtonAttribute
NSAccessibilityCloseButtonSubrole
NSAccessibilityColorWellRole
NSAccessibilityColumnCountAttribute
NSAccessibilityColumnHeaderUIElementsAttribute
NSAccessibilityColumnIndexRangeAttribute
NSAccessibilityColumnRole
NSAccessibilityColumnTitlesAttribute
NSAccessibilityColumnsAttribute
NSAccessibilityComboBoxRole
NSAccessibilityConfirmAction
NSAccessibilityContainsProtectedContentAttribute
NSAccessibilityContentListSubrole
NSAccessibilityContentsAttribute
NSAccessibilityCreatedNotification
NSAccessibilityCriticalValueAttribute
NSAccessibilityDecimalTabStopMarkerTypeValue
NSAccessibilityDecrementAction
NSAccessibilityDecrementArrowSubrole
NSAccessibilityDecrementButtonAttribute
NSAccessibilityDecrementPageSubrole
NSAccessibilityDefaultButtonAttribute
NSAccessibilityDefinitionListSubrole
NSAccessibilityDeleteAction
NSAccessibilityDescendingSortDirectionValue
NSAccessibilityDescriptionAttribute
NSAccessibilityDescriptionListSubrole
NSAccessibilityDialogSubrole
NSAccessibilityDisclosedByRowAttribute
NSAccessibilityDisclosedRowsAttribute
NSAccessibilityDisclosingAttribute
NSAccessibilityDisclosureLevelAttribute
NSAccessibilityDisclosureTriangleRole
NSAccessibilityDocumentAttribute
NSAccessibilityDrawerCreatedNotification
NSAccessibilityDrawerRole
NSAccessibilityEditedAttribute
NSAccessibilityEnabledAttribute
NSAccessibilityErrorCodeExceptionInfo
NSAccessibilityExpandedAttribute
NSAccessibilityExtrasMenuBarAttribute
NSAccessibilityFilenameAttribute
NSAccessibilityFirstLineIndentMarkerTypeValue
NSAccessibilityFloatingWindowSubrole
NSAccessibilityFocusedAttribute
NSAccessibilityFocusedUIElementAttribute
NSAccessibilityFocusedUIElementChangedNotification
NSAccessibilityFocusedWindowAttribute
NSAccessibilityFocusedWindowChangedNotification
NSAccessibilityFontFamilyKey
NSAccessibilityFontNameKey
NSAccessibilityFontSizeKey
NSAccessibilityFontTextAttribute
NSAccessibilityForegroundColorTextAttribute
NSAccessibilityFrontmostAttribute
NSAccessibilityFullScreenButtonAttribute
NSAccessibilityFullScreenButtonSubrole
NSAccessibilityGridRole
NSAccessibilityGroupRole
NSAccessibilityGrowAreaAttribute
NSAccessibilityGrowAreaRole
NSAccessibilityHandleRole
NSAccessibilityHandlesAttribute
NSAccessibilityHeadIndentMarkerTypeValue
NSAccessibilityHeaderAttribute
NSAccessibilityHelpAttribute
NSAccessibilityHelpTagCreatedNotification
NSAccessibilityHelpTagRole
NSAccessibilityHiddenAttribute
NSAccessibilityHorizontalOrientationValue
NSAccessibilityHorizontalScrollBarAttribute
NSAccessibilityHorizontalUnitDescriptionAttribute
NSAccessibilityHorizontalUnitsAttribute
NSAccessibilityIdentifierAttribute
NSAccessibilityImageRole
NSAccessibilityInchesUnitValue
NSAccessibilityIncrementAction
NSAccessibilityIncrementArrowSubrole
NSAccessibilityIncrementButtonAttribute
NSAccessibilityIncrementPageSubrole
NSAccessibilityIncrementorRole
NSAccessibilityIndexAttribute
NSAccessibilityInsertionPointLineNumberAttribute
NSAccessibilityLabelUIElementsAttribute
NSAccessibilityLabelValueAttribute
NSAccessibilityLayoutAreaRole
NSAccessibilityLayoutChangedNotification
NSAccessibilityLayoutItemRole
NSAccessibilityLayoutPointForScreenPointParameterizedAttribute
NSAccessibilityLayoutSizeForScreenSizeParameterizedAttribute
NSAccessibilityLeftTabStopMarkerTypeValue
NSAccessibilityLevelIndicatorRole
NSAccessibilityLineForIndexParameterizedAttribute
NSAccessibilityLinkRole
NSAccessibilityLinkTextAttribute
NSAccessibilityLinkedUIElementsAttribute
NSAccessibilityListItemIndexTextAttribute
NSAccessibilityListItemLevelTextAttribute
NSAccessibilityListItemPrefixTextAttribute
NSAccessibilityListRole
NSAccessibilityMainAttribute
NSAccessibilityMainWindowAttribute
NSAccessibilityMainWindowChangedNotification
NSAccessibilityMarkedMisspelledTextAttribute
NSAccessibilityMarkerGroupUIElementAttribute
NSAccessibilityMarkerTypeAttribute
NSAccessibilityMarkerTypeDescriptionAttribute
NSAccessibilityMarkerUIElementsAttribute
NSAccessibilityMarkerValuesAttribute
NSAccessibilityMatteContentUIElementAttribute
NSAccessibilityMatteHoleAttribute
NSAccessibilityMatteRole
NSAccessibilityMaxValueAttribute
NSAccessibilityMenuBarAttribute
NSAccessibilityMenuBarRole
NSAccessibilityMenuButtonRole
NSAccessibilityMenuItemRole
NSAccessibilityMenuRole
NSAccessibilityMinValueAttribute
NSAccessibilityMinimizeButtonAttribute
NSAccessibilityMinimizeButtonSubrole
NSAccessibilityMinimizedAttribute
NSAccessibilityMisspelledTextAttribute
NSAccessibilityModalAttribute
NSAccessibilityMovedNotification
NSAccessibilityNextContentsAttribute
NSAccessibilityNumberOfCharactersAttribute
NSAccessibilityOrderedByRowAttribute
NSAccessibilityOrientationAttribute
NSAccessibilityOutlineRole
NSAccessibilityOutlineRowSubrole
NSAccessibilityOverflowButtonAttribute
NSAccessibilityParentAttribute
NSAccessibilityPicasUnitValue
NSAccessibilityPickAction
NSAccessibilityPlaceholderValueAttribute
NSAccessibilityPointsUnitValue
NSAccessibilityPopUpButtonRole
NSAccessibilityPopoverRole
NSAccessibilityPositionAttribute
NSAccessibilityPressAction
NSAccessibilityPreviousContentsAttribute
NSAccessibilityPriorityKey
NSAccessibilityProgressIndicatorRole
NSAccessibilityProxyAttribute
NSAccessibilityRTFForRangeParameterizedAttribute
NSAccessibilityRadioButtonRole
NSAccessibilityRadioGroupRole
NSAccessibilityRaiseAction
NSAccessibilityRangeForIndexParameterizedAttribute
NSAccessibilityRangeForLineParameterizedAttribute
NSAccessibilityRangeForPositionParameterizedAttribute
NSAccessibilityRatingIndicatorSubrole
NSAccessibilityRelevanceIndicatorRole
NSAccessibilityResizedNotification
NSAccessibilityRightTabStopMarkerTypeValue
NSAccessibilityRoleAttribute
NSAccessibilityRoleDescriptionAttribute
NSAccessibilityRowCollapsedNotification
NSAccessibilityRowCountAttribute
NSAccessibilityRowCountChangedNotification
NSAccessibilityRowExpandedNotification
NSAccessibilityRowHeaderUIElementsAttribute
NSAccessibilityRowIndexRangeAttribute
NSAccessibilityRowRole
NSAccessibilityRowsAttribute
NSAccessibilityRulerMarkerRole
NSAccessibilityRulerRole
NSAccessibilityScreenPointForLayoutPointParameterizedAttribute
NSAccessibilityScreenSizeForLayoutSizeParameterizedAttribute
NSAccessibilityScrollAreaRole
NSAccessibilityScrollBarRole
NSAccessibilitySearchButtonAttribute
NSAccessibilitySearchFieldSubrole
NSAccessibilitySearchMenuAttribute
NSAccessibilitySecureTextFieldSubrole
NSAccessibilitySelectedAttribute
NSAccessibilitySelectedCellsAttribute
NSAccessibilitySelectedCellsChangedNotification
NSAccessibilitySelectedChildrenAttribute
NSAccessibilitySelectedChildrenChangedNotification
NSAccessibilitySelectedChildrenMovedNotification
NSAccessibilitySelectedColumnsAttribute
NSAccessibilitySelectedColumnsChangedNotification
NSAccessibilitySelectedRowsAttribute
NSAccessibilitySelectedRowsChangedNotification
NSAccessibilitySelectedTextAttribute
NSAccessibilitySelectedTextChangedNotification
NSAccessibilitySelectedTextRangeAttribute
NSAccessibilitySelectedTextRangesAttribute
NSAccessibilityServesAsTitleForUIElementsAttribute
NSAccessibilityShadowTextAttribute
NSAccessibilitySharedCharacterRangeAttribute
NSAccessibilitySharedFocusElementsAttribute
NSAccessibilitySharedTextUIElementsAttribute
NSAccessibilitySheetCreatedNotification
NSAccessibilitySheetRole
NSAccessibilityShowAlternateUIAction
NSAccessibilityShowDefaultUIAction
NSAccessibilityShowMenuAction
NSAccessibilityShownMenuAttribute
NSAccessibilitySizeAttribute
NSAccessibilitySliderRole
NSAccessibilitySortButtonRole
NSAccessibilitySortButtonSubrole
NSAccessibilitySortDirectionAttribute
NSAccessibilitySplitGroupRole
NSAccessibilitySplitterRole
NSAccessibilitySplittersAttribute
NSAccessibilityStandardWindowSubrole
NSAccessibilityStaticTextRole
NSAccessibilityStrikethroughColorTextAttribute
NSAccessibilityStrikethroughTextAttribute
NSAccessibilityStringForRangeParameterizedAttribute
NSAccessibilityStyleRangeForIndexParameterizedAttribute
NSAccessibilitySubroleAttribute
NSAccessibilitySuperscriptTextAttribute
NSAccessibilitySwitchSubrole
NSAccessibilitySystemDialogSubrole
NSAccessibilitySystemFloatingWindowSubrole
NSAccessibilitySystemWideRole
NSAccessibilityTabGroupRole
NSAccessibilityTableRole
NSAccessibilityTableRowSubrole
NSAccessibilityTabsAttribute
NSAccessibilityTailIndentMarkerTypeValue
NSAccessibilityTextAreaRole
NSAccessibilityTextAttachmentSubrole
NSAccessibilityTextFieldRole
NSAccessibilityTextLinkSubrole
NSAccessibilityTimelineSubrole
NSAccessibilityTitleAttribute
NSAccessibilityTitleChangedNotification
NSAccessibilityTitleUIElementAttribute
NSAccessibilityToggleSubrole
NSAccessibilityToolbarButtonAttribute
NSAccessibilityToolbarButtonSubrole
NSAccessibilityToolbarRole
NSAccessibilityTopLevelUIElementAttribute
NSAccessibilityUIElementDestroyedNotification
NSAccessibilityUIElementsKey
NSAccessibilityURLAttribute
NSAccessibilityUnderlineColorTextAttribute
NSAccessibilityUnderlineTextAttribute
NSAccessibilityUnitDescriptionAttribute
NSAccessibilityUnitsAttribute
NSAccessibilityUnitsChangedNotification
NSAccessibilityUnknownMarkerTypeValue
NSAccessibilityUnknownOrientationValue
NSAccessibilityUnknownRole
NSAccessibilityUnknownSortDirectionValue
NSAccessibilityUnknownSubrole
NSAccessibilityUnknownUnitValue
NSAccessibilityValueAttribute
NSAccessibilityValueChangedNotification
NSAccessibilityValueDescriptionAttribute
NSAccessibilityValueIndicatorRole
NSAccessibilityVerticalOrientationValue
NSAccessibilityVerticalScrollBarAttribute
NSAccessibilityVerticalUnitDescriptionAttribute
NSAccessibilityVerticalUnitsAttribute
NSAccessibilityVisibleCellsAttribute
NSAccessibilityVisibleCharacterRangeAttribute
NSAccessibilityVisibleChildrenAttribute
NSAccessibilityVisibleColumnsAttribute
NSAccessibilityVisibleNameKey
NSAccessibilityVisibleRowsAttribute
NSAccessibilityWarningValueAttribute
NSAccessibilityWindowAttribute
NSAccessibilityWindowCreatedNotification
NSAccessibilityWindowDeminiaturizedNotification
NSAccessibilityWindowMiniaturizedNotification
NSAccessibilityWindowMovedNotification
NSAccessibilityWindowResizedNotification
NSAccessibilityWindowRole
NSAccessibilityWindowsAttribute
NSAccessibilityZoomButtonAttribute
NSAccessibilityZoomButtonSubrole
NSAppKitVersionNumber
NSBlack
NSDarkGray
NSDefaultDepth
NSEightBitGrayDepth
NSEightBitRGBDepth
NSFontCollectionDidChangeNotification
NSFontIdentityMatrix
NSFontWeightBlack
NSFontWeightBold
NSFontWeightHeavy
NSFontWeightLight
NSFontWeightMedium
NSFontWeightRegular
NSFontWeightSemibold
NSFontWeightThin
NSFontWeightUltraLight
NSGray
NSGridViewSizeForContent
NSImageNameActionTemplate
NSImageNameAddTemplate
NSImageNameBluetoothTemplate
NSImageNameBonjour
NSImageNameColumnViewTemplate
NSImageNameComputer
NSImageNameEnterFullScreenTemplate
NSImageNameExitFullScreenTemplate
NSImageNameFlowViewTemplate
NSImageNameFolder
NSImageNameFolderBurnable
NSImageNameFolderSmart
NSImageNameFollowLinkFreestandingTemplate
NSImageNameGoLeftTemplate
NSImageNameGoRightTemplate
NSImageNameIChatTheaterTemplate
NSImageNameIconViewTemplate
NSImageNameInvalidDataFreestandingTemplate
NSImageNameLeftFacingTriangleTemplate
NSImageNameListViewTemplate
NSImageNameLockLockedTemplate
NSImageNameLockUnlockedTemplate
NSImageNameNetwork
NSImageNamePathTemplate
NSImageNameQuickLookTemplate
NSImageNameRefreshFreestandingTemplate
NSImageNameRefreshTemplate
NSImageNameRemoveTemplate
NSImageNameRevealFreestandingTemplate
NSImageNameRightFacingTriangleTemplate
NSImageNameSlideshowTemplate
NSImageNameSmartBadgeTemplate
NSImageNameStopProgressFreestandingTemplate
NSImageNameStopProgressTemplate
NSLayoutPriorityDefaultHigh
NSLayoutPriorityDefaultLow
NSLayoutPriorityDragThatCanResizeWindow
NSLayoutPriorityDragThatCannotResizeWindow
NSLayoutPriorityFittingSizeCompression
NSLayoutPriorityRequired
NSLayoutPriorityWindowSizeStayPut
NSLightGray
NSMenuDidAddItemNotification
NSMenuDidBeginTrackingNotification
NSMenuDidChangeItemNotification
NSMenuDidEndTrackingNotification
NSMenuDidRemoveItemNotification
NSMenuDidSendActionNotification
NSMenuWillSendActionNotification
NSPasteboardTypeColor
NSPasteboardTypeFont
NSPasteboardTypeHTML
NSPasteboardTypeMultipleTextSelection
NSPasteboardTypePDF
NSPasteboardTypePNG
NSPasteboardTypeRTF
NSPasteboardTypeRTFD
NSPasteboardTypeRuler
NSPasteboardTypeSound
NSPasteboardTypeString
NSPasteboardTypeTIFF
NSPasteboardTypeTabularText
NSPasteboardTypeTextFinderOptions
NSRuleEditorPredicateComparisonModifier
NSRuleEditorPredicateCompoundType
NSRuleEditorPredicateCustomSelector
NSRuleEditorPredicateLeftExpression
NSRuleEditorPredicateOperatorType
NSRuleEditorPredicateOptions
NSRuleEditorPredicateRightExpression
NSSpellingStateGrammarFlag
NSSpellingStateSpellingFlag
NSSplitViewItemUnspecifiedDimension
NSStackViewSpacingUseDefault
NSStackViewVisibilityPriorityDetachOnlyIfNecessary
NSStackViewVisibilityPriorityMustHold
NSStackViewVisibilityPriorityNotVisible
NSTwelveBitRGBDepth
NSTwentyFourBitRGBDepth
NSTwoBitGrayDepth
NSUnderlineByWordMask
NSViewNoInstrinsicMetric
NSViewNoIntrinsicMetric
NSWhite
_GSCMYKBitValue
_GSCustomBitValue
_GSGrayBitValue
_GSNamedBitValue
_GSRGBBitValue
_GSWindowDepths

Functions

DPSPrintf
DPSWriteData
DPSarc
DPSarcn
DPSarct
DPSashow
DPSawidthshow
DPScharpath
DPSclip
DPSclosepath
DPScomposite
DPScompositerect
DPSconcat
DPScurrentalpha
DPScurrentcmykcolor
DPScurrentflat
DPScurrentgray
DPScurrenthsbcolor
DPScurrentlinecap
DPScurrentlinejoin
DPScurrentlinewidth
DPScurrentmiterlimit
DPScurrentoffset
DPScurrentpoint
DPScurrentrgbcolor
DPScurrentstrokeadjust
DPScurveto
DPSdissolve
DPSeoclip
DPSeofill
DPSfill
DPSflattenpath
DPSgrestore
DPSgsave
DPSinitclip
DPSinitgraphics
DPSinitmatrix
DPSlineto
DPSmoveto
DPSnewpath
DPSpathbbox
DPSrcurveto
DPSrectclip
DPSrectfill
DPSrectstroke
DPSreversepath
DPSrlineto
DPSrmoveto
DPSrotate
DPSscale
DPSsetalpha
DPSsetcmykcolor
DPSsetdash
DPSsetflat
DPSsetgray
DPSsetgstate
DPSsethalftonephase
DPSsethsbcolor
DPSsetlinecap
DPSsetlinejoin
DPSsetlinewidth
DPSsetmiterlimit
DPSsetoffset
DPSsetrgbcolor
DPSsetstrokeadjust
DPSshfill
DPSshow
DPSstroke
DPStranslate
DPSwidthshow
DPSxshow
DPSxyshow
DPSyshow
GSAllWindows
GSConcatCTM
GSContactApplication
GSCurrentCTM
GSCurrentContext
GSCurrentDevice
GSDefineGState
GSDrawImage
GSGetDragTypes
GSGetTextCTM
GSGetTextPosition
GSOrderedWindows
GSRectClipList
GSRectFillList
GSReplaceGState
GSRunExceptionPanel
GSSendBezierPath
GSSetCTM
GSSetCharacterSpacing
GSSetDevice
GSSetFillColor
GSSetFillColorspace
GSSetFont
GSSetFontSize
GSSetStrokeColor
GSSetStrokeColorspace
GSSetTextCTM
GSSetTextDrawingMode
GSSetTextPosition
GSShowGlyphs
GSShowGlyphsWithAdvances
GSShowText
GSUndefineGState
GSWSetViewIsFlipped
GSWViewIsFlipped
GSWindowWithNumber
NSAccessibilityActionDescription
NSAccessibilityPostNotification
NSAccessibilityPostNotificationWithUserInfo
NSAccessibilityRoleDescription
NSAccessibilityRoleDescriptionForUIElement
NSAccessibilityUnignoredAncestor
NSAccessibilityUnignoredChildren
NSAccessibilityUnignoredChildrenForOnlyChild
NSAccessibilityUnignoredDescendant
NSApplicationMain
NSAvailableWindowDepths
NSBeep
NSBeginAlertSheet
NSBeginCriticalAlertSheet
NSBeginInformationalAlertSheet
NSBestDepth
NSBitsPerPixelFromDepth
NSBitsPerSampleFromDepth
NSColorSpaceFromDepth
NSConvertGlobalToWindowNumber
NSConvertGlyphsToPackedGlyphs
NSConvertWindowNumberToGlobal
NSCopyBitmapFromGState
NSCopyBits
NSCountWindows
NSCountWindowsForContext
NSCreateFileContentsPboardType
NSCreateFilenamePboardType
NSDottedFrameRect
NSDrawBezel
NSDrawBitmap
NSDrawButton
NSDrawColorTiledRects
NSDrawDarkBezel
NSDrawFramePhoto
NSDrawGrayBezel
NSDrawGroove
NSDrawLightBezel
NSDrawNinePartImage
NSDrawThreePartImage
NSDrawTiledRects
NSDrawWhiteBezel
NSDrawWindowBackground
NSEraseRect
NSEventMaskFromType
NSFrameLinkRect
NSFrameRect
NSFrameRectWithWidth
NSFrameRectWithWidthUsingOperation
NSGetAlertPanel
NSGetCriticalAlertPanel
NSGetFileType
NSGetFileTypes
NSGetInformationalAlertPanel
NSGetWindowServerMemory
NSHighlightRect
NSInterfaceStyleForKey
NSIsControllerMarker
NSLinkFrameThickness
NSNumberOfColorComponents
NSPerformService
NSPlanarFromDepth
NSReadPixel
NSRectClip
NSRectClipList
NSRectFill
NSRectFillList
NSRectFillListUsingOperation
NSRectFillListWithColors
NSRectFillListWithColorsUsingOperation
NSRectFillListWithGrays
NSRectFillUsingOperation
NSRegisterServicesProvider
NSReleaseAlertPanel
NSRunAlertPanel
NSRunCriticalAlertPanel
NSRunInformationalAlertPanel
NSRunLocalizedAlertPanel
NSSetFocusRingStyle
NSSetShowsServicesMenuItem
NSShowSystemInfoPanel
NSShowsServicesMenuItem
NSUnRegisterServicesProvider
NSUpdateDynamicServices
NSWindowList
NSWindowListForContext
PSPrintf
PSWait
PSWriteData
PSarc
PSarcn
PSarct
PSashow
PSawidthshow
PScharpath
PSclip
PSclosepath
PScomposite
PScompositerect
PSconcat
PScountwindowlist
PScurrentalpha
PScurrentcmykcolor
PScurrentflat
PScurrentgray
PScurrenthsbcolor
PScurrentlinecap
PScurrentlinejoin
PScurrentlinewidth
PScurrentmiterlimit
PScurrentpoint
PScurrentrgbcolor
PScurrentstrokeadjust
PScurveto
PSdissolve
PSeoclip
PSeofill
PSfill
PSflattenpath
PSgrestore
PSgsave
PSinitclip
PSinitgraphics
PSinitmatrix
PSlineto
PSmoveto
PSnewpath
PSpathbbox
PSrcurveto
PSrectclip
PSrectfill
PSrectstroke
PSreversepath
PSrlineto
PSrmoveto
PSrotate
PSscale
PSsetalpha
PSsetcmykcolor
PSsetdash
PSsetflat
PSsetgray
PSsetgstate
PSsethalftonephase
PSsethsbcolor
PSsetlinecap
PSsetlinejoin
PSsetlinewidth
PSsetmiterlimit
PSsetrgbcolor
PSsetstrokeadjust
PSshfill
PSshow
PSstroke
PStranslate
PSwidthshow
PSwindowlist
PSxshow
PSxyshow
PSyshow
PlaybackDeviceIdentifiers

Macros

_GNUstep_H_NSTextAttachment
_GNUstep_H_NSTextContainer

Types

CGColorRef
CGContextRef
CGGlyph
CGImageRef
DrawingIMP
GSAppKitSubtype
GSColorSpace
GSCursorTypes
GSInsertionPointMovementDirection
GSTextDrawingMode
GSWindowInputState
NSAccessibilityCustomRotorSearchDirection
NSAccessibilityCustomRotorType
NSAccessibilityOrientation
NSAccessibilityPriorityLevel
NSAccessibilityRulerMarkerType
NSAccessibilitySortDirection
NSAccessibilityUnits
NSAlertStyle
NSAnimationBlockingMode
NSAnimationCurve
NSAnimationProgress
NSAppearanceName
NSApplicationActivationOptions
NSApplicationActivationPolicy
NSApplicationDelegateReply
NSApplicationPresentationOptions
NSApplicationPrintReply
NSApplicationTerminateReply
NSAttributeType
NSAutoresizingMaskOptions
NSBackgroundStyle
NSBackingStoreType
NSBezelStyle
NSBezierPathElement
NSBitmapFormat
NSBitmapImageFileType
NSBorderType
NSBoxType
NSBrowserColumnResizingType
NSButtonType
NSCellAttribute
NSCellHitResult
NSCellImagePosition
NSCellStateValue
NSCellType
NSCharacterCollection
NSCollectionElementCategory
NSCollectionUpdateAction
NSCollectionViewDecorationElementKind
NSCollectionViewDropOperation
NSCollectionViewItemHighlightState
NSCollectionViewScrollDirection
NSCollectionViewScrollPosition
NSCollectionViewSupplementaryElementKind
NSCollectionViewTransitionLayoutAnimatedKey
NSColorSpaceModel
NSColorSystemEffect
NSColorType
NSCompositingOperation
NSControlSize
NSControlStateValue
NSControlTint
NSCorrectionIndicatorType
NSCorrectionResponse
NSDataAssetName
NSDataLinkDisposition
NSDataLinkNumber
NSDataLinkUpdateMode
NSDatePickerElementFlags
NSDatePickerMode
NSDatePickerStyle
NSDocumentChangeType
NSDragOperation
NSDraggingContext
NSEventButtonMask
NSEventGestureAxis
NSEventMask
NSEventModifierFlags
NSEventPhase
NSEventSwipeTrackingOptions
NSEventType
NSFindPanelAction
NSFocusRingPlacement
NSFocusRingType
NSFontAssetRequestOptions
NSFontCollectionActionTypeKey
NSFontCollectionMatchingOptionKey
NSFontCollectionName
NSFontCollectionUserInfoKey
NSFontCollectionVisibility
NSFontFamilyClass
NSFontRenderingMode
NSFontSymbolicTraits
NSFontTag
NSFontTraitMask
NSFontWeight
NSGlyph
NSGlyphRelation
NSGradientDrawingOptions
NSGradientType
NSGridCellPlacement
NSGridRowAlignment
NSImageAlignment
NSImageCacheMode
NSImageFrameStyle
NSImageInterpolation
NSImageRepLoadStatus
NSImageScaling
NSInterfaceStyle
NSLayoutAttribute
NSLayoutConstraintOrientation
NSLayoutFormatOptions
NSLayoutPriority
NSLayoutRelation
NSLevelIndicatorStyle
NSLineBreakMode
NSLineCapStyle
NSLineJoinStyle
NSLineMovementDirection
NSLineSweepDirection
NSMatrixMode
NSMediaLibrary
NSModalResponse
NSModalSession
NSMultibyteGlyphPacking
NSNibName
NSOpenGLContextParameter
NSOpenGLGlobalOption
NSOpenGLPixelFormatAttribute
NSPDFPanelOptions
NSPageControllerObjectIdentifier
NSPageControllerTransitionStyle
NSPaperOrientation
NSPasteboardReadingOptions
NSPasteboardTypeTextFinderOptionKey
NSPasteboardWritingOptions
NSPathStyle
NSPointingDeviceType
NSPopUpArrowPosition
NSPopoverAppearance
NSPopoverBehavior
NSPrintPanelOptions
NSPrinterTableStatus
NSPrintingOrientation
NSPrintingPageOrder
NSPrintingPaginationMode
NSProgressIndicatorStyle
NSProgressIndicatorThickness
NSQTMovieLoopMode
NSRequestUserAttentionType
NSRuleEditorNestingMode
NSRuleEditorRowType
NSRulerOrientation
NSSaveOperationType
NSScrollArrowPosition
NSScrollElasticity
NSScrollerArrow
NSScrollerKnobStyle
NSScrollerPart
NSScrollerStyle
NSSegmentStyle
NSSegmentSwitchTracking
NSSelectionAffinity
NSSelectionDirection
NSSelectionGranularity
NSSliderType
NSSpeechBoundary
NSSplitViewDividerStyle
NSSplitViewItemBehavior
NSSplitViewItemCollapseBehavior
NSStackViewDistribution
NSStackViewGravity
NSStackViewVisibilityPriority
NSStoryboardName
NSStoryboardSceneIdentifier
NSStoryboardSegueIdentifier
NSStringDrawingOptions
NSTIFFCompression
NSTabState
NSTabViewControllerTabStyle
NSTabViewType
NSTableViewAnimationOptions
NSTableViewColumnAutoresizingStyle
NSTableViewDraggingDestinationFeedbackStyle
NSTableViewDropOperation
NSTableViewGridLineStyle
NSTableViewRowSizeStyle
NSTableViewSelectionHighlightStyle
NSTextAlignment
NSTextBlockDimension
NSTextBlockLayer
NSTextBlockValueType
NSTextBlockVerticalAlignment
NSTextFieldBezelStyle
NSTextFinderAction
NSTextFinderMatchingType
NSTextInputSourceIdentifier
NSTextInputTraitType
NSTextStorageEditedOptions
NSTextTabType
NSTextTableLayoutAlgorithm
NSTickMarkPosition
NSTitlePosition
NSTitlebarSeparatorStyle
NSTokenStyle
NSToolTipTag
NSToolbarDisplayMode
NSToolbarItemIdentifier
NSToolbarSizeMode
NSTrackingAreaOptions
NSTrackingRectTag
NSUsableScrollerParts
NSUserInterfaceItemIdentifier
NSUserInterfaceLayoutDirection
NSUserInterfaceLayoutOrientation
NSViewControllerTransitionOptions
NSViewLayerContentsPlacement
NSViewLayerContentsRedrawPolicy
NSVisualEffectBlendingMode
NSVisualEffectMaterial
NSVisualEffectState
NSWindingRule
NSWindowButton
NSWindowCollectionBehavior
NSWindowDepth
NSWindowOrderingMode
NSWindowStyleMask
NSWorkspaceIconCreationOptions
NSWorkspaceLaunchOptions
NSWritingDirection
NSWritingDirectionFormatType
struct GSIntrinsicContentSizePriority
struct __GSBezierDesc
struct __GSRationalBezierDesc
struct __NSAnimationCurveDesc

Variables

GSAlternateColorSpace
GSBaseColorSpace
GSColorSpaceBlackPoint
GSColorSpaceColorTable
GSColorSpaceComponents
GSColorSpaceGamma
GSColorSpaceMatrix
GSColorSpaceName
GSColorSpaceProfile
GSColorSpaceRange
GSColorSpaceWhitePoint
GSMovableToolbarItemPboardType
GSSpeechRecognizerDidRecognizeWordNotification
GSWindowServerInternalException
NSAFMAscender
NSAFMCapHeight
NSAFMCharacterSet
NSAFMDescender
NSAFMEncodingScheme
NSAFMFamilyName
NSAFMFontName
NSAFMFormatVersion
NSAFMFullName
NSAFMItalicAngle
NSAFMMappingScheme
NSAFMNotice
NSAFMUnderlinePosition
NSAFMUnderlineThickness
NSAFMVersion
NSAFMWeight
NSAFMXHeight
NSAbortModalException
NSAbortPrintingException
NSAccessibilityException
NSAlignmentBinding
NSAllowsEditingMultipleValuesSelectionBindingOption
NSAllowsNullArgumentBindingOption
NSAnimationProgressMark
NSAnimationProgressMarkNotification
NSAnimationTriggerOrderIn
NSAnimationTriggerOrderOut
NSApp
NSAppKitIgnoredException
NSAppKitVirtualMemoryException
NSAppearanceNameAccessibilityHighContrastAqua
NSAppearanceNameAccessibilityHighContrastDarkAqua
NSAppearanceNameAccessibilityHighContrastVibrantDark
NSAppearanceNameAccessibilityHighContrastVibrantLight
NSAppearanceNameAqua
NSAppearanceNameDarkAqua
NSAppearanceNameLightContent
NSAppearanceNameVibrantDark
NSAppearanceNameVibrantLight
NSApplicationDidBecomeActiveNotification
NSApplicationDidChangeScreenParametersNotification
NSApplicationDidFinishLaunchingNotification
NSApplicationDidHideNotification
NSApplicationDidResignActiveNotification
NSApplicationDidUnhideNotification
NSApplicationDidUpdateNotification
NSApplicationFileType
NSApplicationWillBecomeActiveNotification
NSApplicationWillFinishLaunchingNotification
NSApplicationWillHideNotification
NSApplicationWillResignActiveNotification
NSApplicationWillTerminateNotification
NSApplicationWillUnhideNotification
NSApplicationWillUpdateNotification
NSAttachmentAttributeName
NSAuthorDocumentAttribute
NSBackgroundColorAttributeName
NSBackgroundColorDocumentAttribute
NSBadBitmapParametersException
NSBadComparisonException
NSBadRTFColorTableException
NSBadRTFDirectiveException
NSBadRTFFontTableException
NSBadRTFStyleSheetException
NSBaseURLDocumentOption
NSBaselineOffsetAttributeName
NSBottomMarginDocumentAttribute
NSBrowserColumnConfigurationDidChangeNotification
NSBrowserIllegalDelegateException
NSCalibratedBlackColorSpace
NSCalibratedRGBColorSpace
NSCalibratedWhiteColorSpace
NSCharacterEncodingDocumentAttribute
NSCharacterEncodingDocumentOption
NSCharacterShapeAttributeName
NSCocoaVersionDocumentAttribute
NSCollectionElementKindInterItemGapIndicator
NSCollectionElementKindSectionFooter
NSCollectionElementKindSectionHeader
NSColorListDidChangeNotification
NSColorListIOException
NSColorListNotEditableException
NSColorPanelColorDidChangeNotification
NSColorPboardType
NSComboBoxSelectionDidChangeNotification
NSComboBoxSelectionIsChangingNotification
NSComboBoxWillDismissNotification
NSComboBoxWillPopUpNotification
NSCommentDocumentAttribute
NSCompanyDocumentAttribute
NSConditionallySetsEditableBindingOption
NSConditionallySetsEnabledBindingOption
NSConditionallySetsHiddenBindingOption
NSContentArrayBinding
NSContentBinding
NSContentDictionaryBinding
NSContentObjectBinding
NSContentValuesBinding
NSContextHelpModeDidActivateNotification
NSContextHelpModeDidDeactivateNotification
NSContinuouslyUpdatesValueBindingOption
NSControlTextDidBeginEditingNotification
NSControlTextDidChangeNotification
NSControlTextDidEndEditingNotification
NSConvertedDocumentAttribute
NSCopyrightDocumentAttribute
NSCreatesSortDescriptorBindingOption
NSCreationTimeDocumentAttribute
NSCursorAttributeName
NSCustomColorSpace
NSDataLinkFileNameExtension
NSDataLinkFilenameExtension
NSDataLinkPboardType
NSDefaultAttributesDocumentOption
NSDefaultTabIntervalDocumentAttribute
NSDeletesObjectsOnRemoveBindingsOption
NSDeviceBitsPerSample
NSDeviceBlackColorSpace
NSDeviceCMYKColorSpace
NSDeviceColorSpaceName
NSDeviceIsPrinter
NSDeviceIsScreen
NSDeviceRGBColorSpace
NSDeviceResolution
NSDeviceSize
NSDeviceWhiteColorSpace
NSDirectoryFileType
NSDisplayNameBindingOption
NSDisplayPatternBindingOption
NSDocFormatTextDocumentType
NSDocumentTypeDocumentAttribute
NSDocumentTypeDocumentOption
NSDragPboard
NSDraggingException
NSDrawerDidCloseNotification
NSDrawerDidOpenNotification
NSDrawerWillCloseNotification
NSDrawerWillOpenNotification
NSEditableBinding
NSEditorDocumentAttribute
NSEnabledBinding
NSEventTrackingRunLoopMode
NSExcludedElementsDocumentAttribute
NSExcludedKeysBinding
NSExpansionAttributeName
NSFileContentsPboardType
NSFilenamesPboardType
NSFilesPromisePboardType
NSFilesystemFileType
NSFindPboard
NSFontAttributeName
NSFontBinding
NSFontCascadeListAttribute
NSFontCharacterSetAttribute
NSFontCollectionActionKey
NSFontCollectionAllFonts
NSFontCollectionDisallowAutoActivationOption
NSFontCollectionFavorites
NSFontCollectionIncludeDisabledFontsOption
NSFontCollectionNameKey
NSFontCollectionOldNameKey
NSFontCollectionRecentlyUsed
NSFontCollectionRemoveDuplicatesOption
NSFontCollectionUser
NSFontCollectionVisibilityKey
NSFontCollectionWasHidden
NSFontCollectionWasRenamed
NSFontCollectionWasShown
NSFontColorAttribute
NSFontFaceAttribute
NSFontFamilyAttribute
NSFontFixedAdvanceAttribute
NSFontMatrixAttribute
NSFontNameAttribute
NSFontNameBinding
NSFontPboard
NSFontPboardType
NSFontSizeAttribute
NSFontSizeBinding
NSFontSlantTrait
NSFontSymbolicTrait
NSFontTraitsAttribute
NSFontUnavailableException
NSFontVariationAttribute
NSFontVariationAxisDefaultValueKey
NSFontVariationAxisIdentifierKey
NSFontVariationAxisMaximumValueKey
NSFontVariationAxisMinimumValueKey
NSFontVariationAxisNameKey
NSFontVisibleNameAttribute
NSFontWeightTrait
NSFontWidthTrait
NSForegroundColorAttributeName
NSGeneralPboard
NSGeneralPboardType
NSGlyphInfoAttributeName
NSGraphicsContextDestinationAttributeName
NSGraphicsContextPDFFormat
NSGraphicsContextPSFormat
NSGraphicsContextRepresentationFormatAttributeName
NSHTMLPboardType
NSHTMLTextDocumentType
NSHandlesContentAsCompoundValueBindingOption
NSHiddenBinding
NSHyphenationFactorDocumentAttribute
NSIconSize
NSIllegalSelectorException
NSImageCacheException
NSImageColorSyncProfileData
NSImageCompressionFactor
NSImageCompressionMethod
NSImageCurrentFrame
NSImageCurrentFrameDuration
NSImageDitherTranparency
NSImageEXIFData
NSImageFrameCount
NSImageGamma
NSImageInterlaced
NSImageLoopCount
NSImageNameAdvanced
NSImageNameCaution
NSImageNameColorPanel
NSImageNameFontPanel
NSImageNameInfo
NSImageNameMultipleDocuments
NSImageNamePreferencesGeneral
NSImageNameTrashEmpty
NSImageNameTrashFull
NSImageNameUserAccounts
NSImageProgressive
NSImageRGBColorTable
NSImageRepRegistryChangedNotification
NSIncludedKeysBinding
NSInitialKeyBinding
NSInitialValueBinding
NSInsertsNullPlaceholderBindingOption
NSInterfaceStyleDefault
NSInvokesSeparatelyWithArrayObjectsBindingOption
NSKernAttributeName
NSKeywordsDocumentAttribute
NSLeftMarginDocumentAttribute
NSLigatureAttributeName
NSLinkAttributeName
NSLocalizedKeyDictionaryBinding
NSMacSimpleTextDocumentType
NSModalPanelRunLoopMode
NSModificationTimeDocumentAttribute
NSMultipleValuesMarker
NSMultipleValuesPlaceholderBindingOption
NSNamedColorSpace
NSNibLoadingException
NSNibOwner
NSNibTopLevelObjects
NSNoSelectionMarker
NSNoSelectionPlaceholderBindingOption
NSNotApplicableMarker
NSNotApplicablePlaceholderBindingOption
NSNullPlaceholderBindingOption
NSObliquenessAttributeName
NSObservedKeyPathKey
NSObservedObjectKey
NSOfficeOpenXMLTextDocumentType
NSOldSelectedCharacterRange
NSOpenDocumentTextDocumentType
NSOptionsKey
NSOutlineViewColumnDidMoveNotification
NSOutlineViewColumnDidResizeNotification
NSOutlineViewItemDidCollapseNotification
NSOutlineViewItemDidExpandNotification
NSOutlineViewItemWillCollapseNotification
NSOutlineViewItemWillExpandNotification
NSOutlineViewSelectionDidChangeNotification
NSOutlineViewSelectionIsChangingNotification
NSPDFPboardType
NSPICTPboardType
NSPPDIncludeNotFoundException
NSPPDIncludeStackOverflowException
NSPPDIncludeStackUnderflowException
NSPPDParseException
NSPaperSizeDocumentAttribute
NSParagraphStyleAttributeName
NSPasteboardCommunicationException
NSPatternColorSpace
NSPlainFileType
NSPlainTextDocumentType
NSPopUpButtonCellWillPopUpNotification
NSPopUpButtonWillPopUpNotification
NSPopoverCloseReasonDetachToWindow
NSPopoverCloseReasonKey
NSPopoverCloseReasonStandard
NSPopoverDidCloseNotification
NSPopoverDidShowNotification
NSPopoverWillCloseNotification
NSPopoverWillShowNotification
NSPostScriptPboardType
NSPredicateFormatBindingOption
NSPreferredScrollerStyleDidChangeNotification
NSPrefixSpacesDocumentAttribute
NSPrintAllPages
NSPrintBottomMargin
NSPrintCancelJob
NSPrintCopies
NSPrintDetailedErrorReporting
NSPrintFaxCoverSheetName
NSPrintFaxHighResolution
NSPrintFaxJob
NSPrintFaxModem
NSPrintFaxNumber
NSPrintFaxReceiverNames
NSPrintFaxReceiverNumbers
NSPrintFaxReturnReceipt
NSPrintFaxSendTime
NSPrintFaxTrimPageEnds
NSPrintFaxUseCoverSheet
NSPrintFirstPage
NSPrintHeaderAndFooter
NSPrintHorizontalPagination
NSPrintHorizontallyCentered
NSPrintJobDisposition
NSPrintJobFeatures
NSPrintLastPage
NSPrintLeftMargin
NSPrintManualFeed
NSPrintMustCollate
NSPrintOperationExistsException
NSPrintOrientation
NSPrintPackageException
NSPrintPageDirection
NSPrintPagesAcross
NSPrintPagesDown
NSPrintPagesPerSheet
NSPrintPanelAccessorySummaryItemDescriptionKey
NSPrintPanelAccessorySummaryItemNameKey
NSPrintPaperFeed
NSPrintPaperName
NSPrintPaperSize
NSPrintPhotoJobStyleHint
NSPrintPreviewJob
NSPrintPrinter
NSPrintPrinterName
NSPrintReversePageOrder
NSPrintRightMargin
NSPrintSaveJob
NSPrintSavePath
NSPrintScalingFactor
NSPrintSpoolJob
NSPrintTime
NSPrintTopMargin
NSPrintVerticalPagination
NSPrintVerticallyCentered
NSPrintingCommunicationException
NSRTFDPboardType
NSRTFDTextDocumentType
NSRTFPboardType
NSRTFPropertyStackOverflowException
NSRTFTextDocumentType
NSRaisesForNotApplicableKeysBindingOption
NSReadOnlyDocumentAttribute
NSRightMarginDocumentAttribute
NSRuleEditorRowsDidChangeNotification
NSRulerPboard
NSRulerPboardType
NSSelectedIndexBinding
NSSelectedObjectBinding
NSSelectedTagBinding
NSSelectedValueBinding
NSSelectionIndexPathsBinding
NSSelectionIndexesBinding
NSSelectorNameBindingOption
NSSelectsAllWhenSettingContentBindingOption
NSShadowAttributeName
NSShellCommandFileType
NSSortDescriptorsBinding
NSSpeechCommandPrefix
NSSpeechCommandSuffix
NSSpeechDictionaryAbreviations
NSSpeechDictionaryEntryPhonemes
NSSpeechDictionaryEntrySpelling
NSSpeechDictionaryLanguage
NSSpeechDictionaryModificationDate
NSSpeechDictionaryPronunciations
NSSpeechErrorCount
NSSpeechErrorNewestCharacterOffset
NSSpeechErrorNewestCode
NSSpeechErrorOldestCharacterOffset
NSSpeechErrorOldestCode
NSSpeechModeLiteral
NSSpeechModeNormal
NSSpeechModePhoneme
NSSpeechModeText
NSSpeechOutputToFileURLProperty
NSSpeechPitchBaseProperty
NSSpeechResetProperty
NSSpeechStatusNumberOfCharactersLeft
NSSpeechStatusOutputBusy
NSSpeechStatusOutputPaused
NSSpeechStatusPhonemeCode
NSSpeechSynthesizerInfoIdentifier
NSSpeechSynthesizerInfoVersion
NSSpellCheckerDidChangeAutomaticDashSubstitutionNotification
NSSpellCheckerDidChangeAutomaticQuoteSubstitutionNotification
NSSpellCheckerDidChangeAutomaticSpellingCorrectionNotification
NSSpellCheckerDidChangeAutomaticTextReplacementNotification
NSSpellingStateAttributeName
NSSplitViewDidResizeSubviewsNotification
NSSplitViewWillResizeSubviewsNotification
NSStrikethroughColorAttributeName
NSStrikethroughStyleAttributeName
NSStringPboardType
NSStrokeColorAttributeName
NSStrokeWidthAttributeName
NSSubjectDocumentAttribute
NSSuperscriptAttributeName
NSSystemColorsDidChangeNotification
NSTIFFException
NSTIFFPboardType
NSTabColumnTerminatorsAttributeName
NSTableViewColumnDidMoveNotification
NSTableViewColumnDidResizeNotification
NSTableViewSelectionDidChangeNotification
NSTableViewSelectionIsChangingNotification
NSTabularTextPboardType
NSTextAlternativesAttributeName
NSTextAlternativesSelectedAlternativeStringNotification
NSTextColorBinding
NSTextDidBeginEditingNotification
NSTextDidChangeNotification
NSTextDidEndEditingNotification
NSTextEncodingNameDocumentAttribute
NSTextEncodingNameDocumentOption
NSTextFinderCaseInsensitiveKey
NSTextFinderMatchingTypeKey
NSTextInputContextKeyboardSelectionDidChangeNotification
NSTextInsertionUndoableAttributeName
NSTextLineTooLongException
NSTextNoSelectionException
NSTextReadException
NSTextSizeMultiplierDocumentOption
NSTextStorageDidProcessEditingNotification
NSTextStorageWillProcessEditingNotification
NSTextViewDidChangeSelectionNotification
NSTextViewDidChangeTypingAttributesNotification
NSTextViewWillChangeNotifyingTextViewNotification
NSTextWriteException
NSTimeoutDocumentOption
NSTitleBinding
NSTitleDocumentAttribute
NSTokenSize
NSToolTipAttributeName
NSToolTipBinding
NSToolbarCustomizeToolbarItemIdentifier
NSToolbarDidRemoveItemNotification
NSToolbarFlexibleSpaceItemIdentifier
NSToolbarPrintItemIdentifier
NSToolbarSeparatorItemIdentifier
NSToolbarShowColorsItemIdentifier
NSToolbarShowFontsItemIdentifier
NSToolbarSpaceItemIdentifier
NSToolbarWillAddItemNotification
NSTopMarginDocumentAttribute
NSTypedStreamVersionException
NSURLPboardType
NSUnderlineColorAttributeName
NSUnderlineStyleAttributeName
NSVCardPboardType
NSValidatesImmediatelyBindingOption
NSValueBinding
NSValueTransformerBindingOption
NSValueTransformerNameBindingOption
NSViewAnimationEffectKey
NSViewAnimationEndFrameKey
NSViewAnimationFadeInEffect
NSViewAnimationFadeOutEffect
NSViewAnimationStartFrameKey
NSViewAnimationTargetKey
NSViewBoundsDidChangeNotification
NSViewFocusDidChangeNotification
NSViewFrameDidChangeNotification
NSViewGlobalFrameDidChangeNotification
NSViewModeDocumentAttribute
NSViewSizeDocumentAttribute
NSViewZoomDocumentAttribute
NSVoiceAge
NSVoiceDemoText
NSVoiceGender
NSVoiceGenderFemale
NSVoiceGenderMale
NSVoiceGenderNeuter
NSVoiceIdentifier
NSVoiceIndividuallySpokenCharacters
NSVoiceLanguage
NSVoiceLocaleIdentifier
NSVoiceName
NSVoiceSupportedCharacters
NSWebPreferencesDocumentOption
NSWebResourceLoadDelegateDocumentOption
NSWindowDidBecomeKeyNotification
NSWindowDidBecomeMainNotification
NSWindowDidChangeScreenNotification
NSWindowDidChangeScreenProfileNotification
NSWindowDidDeminiaturizeNotification
NSWindowDidEndSheetNotification
NSWindowDidExposeNotification
NSWindowDidMiniaturizeNotification
NSWindowDidMoveNotification
NSWindowDidResignKeyNotification
NSWindowDidResignMainNotification
NSWindowDidResizeNotification
NSWindowDidUpdateNotification
NSWindowServerCommunicationException
NSWindowWillBeginSheetNotification
NSWindowWillCloseNotification
NSWindowWillMiniaturizeNotification
NSWindowWillMoveNotification
NSWordMLTextDocumentType
NSWordTablesReadException
NSWordTablesWriteException
NSWorkspaceCompressOperation
NSWorkspaceCopyOperation
NSWorkspaceDecompressOperation
NSWorkspaceDecryptOperation
NSWorkspaceDestroyOperation
NSWorkspaceDidLaunchApplicationNotification
NSWorkspaceDidMountNotification
NSWorkspaceDidPerformFileOperationNotification
NSWorkspaceDidTerminateApplicationNotification
NSWorkspaceDidUnmountNotification
NSWorkspaceDidWakeNotification
NSWorkspaceDuplicateOperation
NSWorkspaceEncryptOperation
NSWorkspaceLinkOperation
NSWorkspaceMoveOperation
NSWorkspaceRecycleOperation
NSWorkspaceSessionDidBecomeActiveNotification
NSWorkspaceSessionDidResignActiveNotification
NSWorkspaceWillLaunchApplicationNotification
NSWorkspaceWillPowerOffNotification
NSWorkspaceWillSleepNotification
NSWorkspaceWillUnmountNotification
NSWritingDirectionAttributeName
_NSFormCellDidChangeTitleWidthNotification
enum _NSAlertStyle
enum _NSAnimationBlockingMode
enum _NSAnimationCurve
enum _NSApplicationDelegateReply
enum _NSApplicationPrintReply
enum _NSBackingStoreType
enum _NSBorderType
enum _NSBrowserColumnResizingType
enum _NSCellAttribute
enum _NSCellType
enum _NSColorSystemEffect
enum _NSColorType
enum _NSCompositingOperation
enum _NSControlSize
enum _NSControlTint
enum _NSDragOperation
enum _NSEventType
enum _NSFindPanelAction
enum _NSFontFamilyClassMask
enum _NSFontManagerAddCollectionOptions
enum _NSFontTrait
enum _NSLineBreakMode
enum _NSScrollArrowPosition
enum _NSScrollerArrow
enum _NSScrollerPart
enum _NSScrollerUsablePart
enum _NSSelectionAffinity
enum _NSSelectionDirection
enum _NSSelectionGranularity
enum _NSToolbarItemVisibilityPriority
enum _NSUnderlinePattern
enum _NSUnderlineStyle
enum _NSWindowButton
enum _NSWritingDirection
enum __NSControlSize

Up

NSPasteboard

Authors

Richard Frith-Macdonald (richard@brainstorm.co.uk)

Date: Generated at 2025-02-11 22:28:02 +0100

Implementation of class for communicating with the pasteboard server.

Copyright: (C) 1997,1999,2003 Free Software Foundation, Inc.


Contents -

  1. The pasteboard system
  2. Cut and Paste
  3. Drag and Drop
  4. Services
  5. Filter services
  6. Distributed Objects services
  7. Software documentation for the NSPasteboard class
  8. Software documentation for the NSObject(NSPasteboardOwner) informal protocol
  9. Software documentation for the NSObject(NSPasteboardReading) informal protocol
  10. Software documentation for the NSObject(NSPasteboardWriting) informal protocol
  11. Software documentation for the NSPasteboard(GNUstepExtensions) category
  12. Software documentation for the NSURL(NSPasteboard) category
  13. Software documentation for the NSPasteboardReading protocol
  14. Software documentation for the NSPasteboardWriting protocol

The pasteboard system

The pasteboard system is the core of OpenStep inter-application communications. This chapter is concerned with the use of the system, for detailed reference see the NSPasteboard class.
For non-standard services provided by applications (ie those which do not fit the general services mechanism described below), you generally use the Distributed Objects system (see NSConnection ) directly, and some hints about that are provided at the end of this chapter.

Cut and Paste

The most obvious use of the pasteboard system is to support cut and paste of text and other data, permitting the user to take selected information from a document open in an application, and move it around in the same document, or to another document open in the same application, or to a document open in another application entirely.

While some objects (eg instances of NSText ) will handle cut and paste for you automatically, you may often need to do this yourself in your own classes. The mechanism for this is quite simple, and should be done in a method called when the user selects the Cut or Copy item on the Edit menu.
The methods to do this should be called cut: and copy: respectively, and will be called automatically when the menu items are selected.

Similarly, when the user selects the Paste item on the Edit menu, the paste: method in your code will be called, and this method should retrieve data from the pasteboard and insert it into your custom object so that the user can see it.

Drag and Drop

The drag and drop system for transferring data is in essence a simple extension of copy and paste, where the data being dragged is a copy of some initially selected data, and the location to which it is pasted depends on where it is dropped.
To support drag and drop, you use a few standard methods to interact with pasteboards, but you need to extend this with DnD specific methods to handle the drag and drop process.

Services

The services system provides a standardised mechanism for an application to provide services to other applications. Like cut and paste, or drag and drop, the use of an application service is normally initiated by the user selecting some data to work with. The user then goes to the services menu, and selects a service listed there. The selection of a menu item causes the data to be placed on a pasteboard and transferred to the service providing application, where the action of the service is performed on it, and resulting data transferred back to the original system via the pasteboard system again.

To make use of a service then, you typically need to make no changes to your application, making the services facility supremely easy to deal with!
If however, you wish to make use of a service programmatically (rather than from the services menu), you can use the NSPerformService() function to invoke the service directly...

  // Create a pasteboard and store a string in it.
  NSPasteboard *pb = [NSPasteboard pasteboardWithUniqueName];
  [pb declareTypes: [NSArray arrayWithObject: NSStringPboardType]
	     owner: nil];
  [pb setString: myString forType: NSStringPboardType];
  // Invoke a service which takes string input and produces data output.
  if (NSPerformService(@"TheServiceName", pb) == YES)
    {
      result = [pb dataForType: NSGeneralPboardType];
    }
    

Providing a service is a bit trickier, it involves implementing a method to perform the service (usually in your [NSApplication -delegate] object) and specifying information about your service in the Info.plist file for your application.
When your application is installed in one of the standard locations, and the make_services tool is run to update the cache of services information, your service automatically becomes available on the services menu of every application you run.
At runtime, you use [NSApplication -setServicesProvider:] to specify the object which implements the method to perform the service, or, if you are providing the service from a process other than a GUI application, you use the NSRegisterServicesProvider() function.

Your Info.plist should contain an array named NSServices listing all the services your application provides. Each service definition should be a dictionary containing the following information -

NSSendTypes
This is an array containing the string values of the types of data that the service provider can handle (ie the types of data the application requesting the service may send).
The string values are the same as the standard constant names for these types, so the string "NSStringPboardType" would match the use of the NSStringPboardType in your code.
Similarly, the functions NSCreateFileContentsPboardType() and NSCreateFilenamePboardType() return types whose string values are found by appending the filename extension concerned to the strings "NSTypedFileContentsPboardType:" and "NSTypedFilenamesPboardType:" respectively.
NSReturnTypes
These are the types of data that the service provider may return and are specified in the same way as the NSSendTypes.
NB. A service must handle at least one send type or one return type, but it is OK to have a service which expects no input data or one which produces no output data.
NSMessage
This mandatory string value is the interesting part of the message which is sent to your service provider in order to perform the service.
The method in your application which does the work, must take three arguments and have a name formed of this value followed by :userData:error:
// If NSMessage=encryptData
- (void) encryptString: (NSPasteboard*)pboard
	      userData: (NSString*)userData
		 error: (NSString**)error;
This method will be pass the pasteboard to use and an optional user data string, and must return results in the pasteboard, or an error message in the error argument.
NSPortName
This specifies the name of the Distributed Objects port (see NSConnection and NSPort ) on which the service provider will be listening for messages. While its value depends on how you register the service, it is normally the name of the application providing the service. This information is required in order for other applications to know how to contact the service provider.
NSUserData
This is an optional arbitrary string which (if present) is passed as the userData argument to the method implementing the service. This permits a service provider to implement a single method to handle a variety of similar services, whose exact characteristics are determined by this parameter.
NSMenuItem
This is a dictionary containing language names and the text to appear in the services menu for each language. It may contain an entry where the language name is default and this entry will be used where none of the specific languages listed are found in the application user's preferences.
These text items may contain a single slash ('/') character, and if this is present, the text after the slash will appear in a submenu of the services menu, with the text before the slash being the name of that submenu. This is very useful where a single application provides a variety of services and wishes to group them together.
NSKeyEquivalent
This is an optional dictionary specifying the key equivalents to select the menu items listed in the NSMenuItem specification.
NSTimeout
This is an optional timeout (in milliseconds) specifying how long the system should wait for the service provider to perform the service. If omitted, it defaults to 30000 (30 seconds).
NSExecutable
This is an optional path to the executable binary of the program which performs the service.. it's used to launch the program if it is not already running. Normally, for an application, this is not necessary, as the system knows how to launch any applications found installed in standard locations.
NSHost
Not yet implemented... this provides for the system to launch the executable for this service on a different host on the network.

The actual code to implement a service is very simple, even with error checking added -

- (void) encryptString: (NSPasteboard*)pboard
	      userData: (NSString*)userData
		 error: (NSString**)error
{
  NSString	*d;

  if ([pboard types] containsObject: NSStringPboardType] == NO)
    {
      *error = @"Bad types for encrypt service ... no string data";
      return;
    }
  s = [pboard stringForType: NSStringPboardType];
  if ([d length] == 0)
    {
      *error = @"No data supplied for encrypt service";
      return;
    }
  s = [self encryptString: s];	// Do the real work
  [pboard declareTypes: [NSArray arrayWithObject: NSStringPboardType
		 owner: nil];
  [pboard setString: s forType: NSStringPboardType];
  return;
}
    

Filter services

A filter service is a special case of an inter-application service. Its action is to take data of one type and convert it to another type. Unlike general services, this is not directly initiated by user action clicking on an item in the services menu (indeed, filter services do not appear on the services menu), but is instead performed transparently when the application asks the pasteboard system for data of a particular type, but the pasteboard only contains data of some other type.

A filter service definition in the Info.plist file differs from that of a standard service in that the NSMessage entry is replaced by an NSFilter entry, the NSMenuItem and NSKeyEquivalent entries are omitted, and a few other entries may be added -

NSFilter
This is the first part of the message name for the method which actually implements the filter service... just like the NSMessage entry in a normal service.
NSInputMechanism
This (optional) entry is a string value specifying an alternative mechanism for performing the filer service (instead of sending a message to an application to ask it to do it).
Possible values are -
NSIdentity
The data to be filtered is simply placed upon the pasteboard without any transformation.
NSMapFile
The data to be filtered is the name of a file, which is loaded into memory and placed on the pasteboard without any transformation.
If the data to be filtered contains multiple file names, only the first is used.
NSUnixStdio
The data to be filtered is the name of a file, which is passed as the argument to a unix command-line program, and the standard output of that program is captured and placed on the pasteboard. The program is run each time data is requested, so this is inefficient in comparison to a filter implemented using the standard method (of sending a message to a running application).
If the data to be filtered contains multiple file names, only the first is used.

Filter services are used implicitly whenever you get a pasteboard by using one of the methods +pasteboardByFilteringData:ofType: , +pasteboardByFilteringFile: or +pasteboardByFilteringTypesInPasteboard: as the pasteboard system will automatically invoke any available filter to convert the data in the pasteboard to any required type as long as a conversion can be done using a single filter.

Distributed Objects services

While the general services mechanism described above covers most eventualities, there are some circumstances where you might want your application to offer more complex services which require the client application to have been written to make use of those services and where the interaction between the two is much trickier.

In most cases, such situations are handled by server processes rather than GUI applications, thus avoiding all the overheads of a GUI application... linking with the GUI library and using the windowing system etc. On occasion you may actually want the services to use facilities from the GUI library (such as the NSPasteboard or NSWorkspace class).

Traditionally, NeXTstep and GNUstep applications permit you to connect to an application using the standard NSConnection mechanisms, with the name of the port you connect to being (by convention) the name of the application. The root proxy of the NSConnection obtained this way would be the [NSApplication -delegate] object, and any messages sent to this object would be handled by the application delegate.

In the interests of security, GNUstep provides a mechanism to ensure that only those methods you explicitly want to be available to remote processes are actually available.
Those methods are assumed to be any of the standard application methods, and any methods implementing the standard services mechanism (ie. methods whose names begin application: or end with :userData:error:), plus any methods listed in the array returned by the GSPermittedMessages user default.
If your application wishes to make non-standard methods available, it should use [NSUserDefaults -registerDefaults:] to set a standard value for GSPermittedMessages. Users of the application can then use the defaults system to override that standard setting for the application in order to reduce or increase the list of messages available to remote processes.

To make use of a service, you need to check to ensure that the application providing the service is running, connect to it, and then send messages to it. You should take care to catch exceptions and deal with a loss of connection to the server application.
As an aid to using the services, GNUstep provides a helper function (GSContactApplication()) which encapsulates the process of establishing a connection and launching the server application if necessary.

  id	proxy = GSContactApplication(@"pathToApp", nil, nil);
  if (proxy != nil)
    {
      NS_EXCEPTION
	{
	  id result = [proxy performTask: taskName withArgument: anArgument];

	  if (result == nil)
	    {
	      // handle error
	    }
	  else
	    {
	      // Use result
	    }
	}
      NS_HANDLER
        // Handle exception
      NS_ENDHANDLER
    }

If we want to send repeated messages, we may store the proxy to server application, and might want to keep track of the state of the connection to be sure that the proxy is still valid.

  ASSIGN(remote, proxy);
  // We want to keep hold of the proxy for use later, so we need to know
  // if the connection dies ... we ask for a notification to call our
  // connectionBecameInvalid: method when the connection dies ... in that
  // method we can release the proxy.
  [[NSNotificationCenter defaultCenter]
    addObserver: self
       selector: @selector(connectionBecameInvalid:)
	   name: NSConnectionDidDieNotification
	 object: [remote connectionForProxy]];

Software documentation for the NSPasteboard class

NSPasteboard : NSObject

class_NSPasteboard NSObject NSObject NSPasteboard NSPasteboard NSObject->NSPasteboard
Declared in:
AppKit/NSPasteboard.h
Availability: OpenStep

The pasteboard system is the primary mechanism for data exchange between OpenStep applications. It is used for cut and paste of data, as the exchange mechanism for services (as listed on the services menu), for communicating with a spelling server in order to perform spell checking, and for filter services which convert data of one type to another transparently.

Pasteboards are identified by names, some of which are standard and are intended to exist permanently and be shared between all applications, others are temporary or private and are used to handle specific services.

All data transferred to/from pasteboards is typed. Mostly using one of several standard types for common data or using standardised names which identify particular kinds of files and their contents (see the NSCreateFileContentsPboardType() an NSCreateFilenamePboardType() functions for details). It is also possible for cooperating applications to use their own private types... any string value will do.

Each pasteboard has an owner... an object which declares the types of data it can provide. Unless versions of the pasteboard data corresponding to all the declared types are written to the pasteboard, the owner is responsible for producing the data for the pasteboard when it is called for (lazy provision of data).
The pasteboard owner needs to implement the methods of the NSPasteboardOwner informal protocol in order to do this.


Instance Variables

Method summary


generalPasteboard 

+ (NSPasteboard*) generalPasteboard;
Availability: OpenStep

Returns the general pasteboard found by calling +pasteboardWithName: with NSGeneralPboard as the name.

pasteboardByFilteringData: ofType: 

+ (NSPasteboard*) pasteboardByFilteringData: (NSData*)data ofType: (NSString*)type;
Availability: OpenStep

Creates and returns a pasteboard from which the data in the named file can be read in all the types to which it can be converted by filter services.
The type of data in the file is inferred from the file extension.

No filtering is actually performed until some object asks the pasteboard for the data, so calling this method is quite inexpensive.


pasteboardByFilteringFile: 

+ (NSPasteboard*) pasteboardByFilteringFile: (NSString*)filename;
Availability: OpenStep

Creates and returns a pasteboard from which the data in the named file can be read in all the types to which it can be converted by filter services.
The type of data in the file is inferred from the file extension.


pasteboardByFilteringTypesInPasteboard: 

+ (NSPasteboard*) pasteboardByFilteringTypesInPasteboard: (NSPasteboard*)pboard;
Availability: OpenStep

Creates and returns a pasteboard where the data contained in pboard is available for reading in as many types as it can be converted to by available filter services. This normally expands on the range of types available in pboard.

NB. This only permits a single level of filtering... if pboard was previously returned by another filtering method, it is returned instead of a new pasteboard.


pasteboardWithName: 

+ (NSPasteboard*) pasteboardWithName: (NSString*)aName;
Availability: OpenStep

Returns the pasteboard for the specified name. Creates a new pasteboard if (and only if) one with the given name does not exist.

Standard pasteboard names are -


pasteboardWithUniqueName 

+ (NSPasteboard*) pasteboardWithUniqueName;
Availability: OpenStep

Creates and returns a new pasteboard with a name guaranteed to be unique within the pasteboard server.

typesFilterableTo: 

+ (NSArray*) typesFilterableTo: (NSString*)type;
Availability: OpenStep

Returns an array of the types from which data of the specified type can be produced by registered filter services.
The original type is always present in this array.
Raises an exception if type is nil.

addTypes: owner: 

- (int) addTypes: (NSArray*)newTypes owner: (id)newOwner;
Availability: OpenStep

Adds newTypes to the pasteboard and declares newOwner to be the owner of the pasteboard. Use only after -declareTypes:owner: has been called for the same owner, because the new owner may not support all the types declared by a previous owner.

Returns the new change count for the pasteboard, or zero if an error occurs.


availableTypeFromArray: 

- (NSString*) availableTypeFromArray: (NSArray*)types;
Availability: OpenStep

Returns the first type listed in types which the receiver has been declared (see -declareTypes:owner:) to support.

changeCount 

- (int) changeCount;
Availability: OpenStep

Returns the change count for the receiving pasteboard. This count is incremented whenever the owner of the pasteboard is changed.

dataForType: 

- (NSData*) dataForType: (NSString*)dataType;
Availability: OpenStep

Returns data from the pasteboard of the specified dataType, or nil if no such data is available.
May raise an exception if communication with the pasteboard server fails.

declareTypes: owner: 

- (int) declareTypes: (NSArray*)newTypes owner: (id)newOwner;
Availability: OpenStep

Sets the owner of the pasteboard to be newOwner and declares newTypes as the types of data supported by it.
This invalidates existing data in the pasteboard (except where the GNUstep -setHistory: extension allows multi-version data to be held).

The value of newOwner may be nil, but if it is, data should immediately be written to the pasteboard for all the value in newTypes as a nil owner cannot be used for lazy supply of data.

This increments the change count for the pasteboard and the new count is returned, or zero is returned if an error occurs.
Where -setChangeCount: has been used, the highest count to date is incremented and returned, rather than the last value specified by the -setChangeCount: method.

The types you declare can be arbitrary strings, but as at least two applications really need to be aware of the same type for it to be of use, it is much more normal to use a predefined (standard) type or a type representing the name or content of a particular kind of file (returned by the NSCreateFilenamePboardType() or NSCreateFilenamePboardType() function).
The standard type for raw data is NSGeneralPboardType

The predefined pasteboard types are -


name 

- (NSString*) name;
Availability: OpenStep

Returns the pasteboard name (as given to +pasteboardWithName:) for the receiver.

propertyListForType: 

- (id) propertyListForType: (NSString*)dataType;
Availability: OpenStep

Calls -dataForType: to obtain data (expected to be a serialized property list) and returns the object produced by deserializing it.

readFileContentsType: toFile: 

- (NSString*) readFileContentsType: (NSString*)type toFile: (NSString*)filename;
Availability: OpenStep

Obtains data of the specified dataType from the pasteboard, deserializes it to the specified filename and returns the file name (or nil on failure).

This method should only be used to read data written by the -writeFileContents: or -writeFileWrapper: method.


readFileWrapper 

- (NSFileWrapper*) readFileWrapper;
Availability: OpenStep

Obtains data of the specified dataType from the pasteboard, deserializes it and returns the resulting file wrapper (or nil).

This method should only be used to read data written by the -writeFileContents: or -writeFileWrapper: method.


releaseGlobally 

- (void) releaseGlobally;
Availability: OpenStep

Releases the receiver in the pasteboard server so that no other application can use the pasteboard. This should not be called for any of the standard pasteboards, only for temporary ones.

setData: forType: 

- (BOOL) setData: (NSData*)data forType: (NSString*)dataType;
Availability: OpenStep

Writes data of type dataType to the pasteboard server so that other applications can read it. The dataType must be one of the types previously declared for the pasteboard.
All the other methods for writing data to the pasteboard call this one.

Returns YES on success, NO if the data could not be written for some reason.


setPropertyList: forType: 

- (BOOL) setPropertyList: (id)propertyList forType: (NSString*)dataType;
Availability: OpenStep

Serialises the data in the supplied property list and writes it to the pasteboard server using the -setData:forType: method.

Data written using this method can be read by -propertyListForType: or, if it was a simple string, by -stringForType:

If the data is retrieved using -dataForType: then it needs to be deserialized into a property list.


setString: forType: 

- (BOOL) setString: (NSString*)string forType: (NSString*)dataType;
Availability: OpenStep

Writes string it to the pasteboard server using the -setPropertyList:forType: method.

The data may subsequently be read from the receiver using the -stringForType: or -propertyListForType: method.

If the data is retrieved using -dataForType: then it needs to be deserialized into a property list.


stringForType: 

- (NSString*) stringForType: (NSString*)dataType;
Availability: OpenStep

Obtains data of the specified dataType from the pasteboard, deserializes it and returns the resulting string (or nil).

The string should have been written using the -setString:forType: or -setPropertyList:forType: method.


types 

- (NSArray*) types;
Availability: OpenStep

Returns all the types that the receiver has been declared to support.
See -declareTypes:owner: for details.

writeFileContents: 

- (BOOL) writeFileContents: (NSString*)filename;
Availability: OpenStep

Writes the contents of the file filename to the pasteboard server after declaring the type NSFileContentsPboardType as well as a type based on the file extension (given by the NSCreateFileContentsPboardType() function) if those types have not already been declared.
If the filename has no extension, only NSFileContentsPboardType is used.

Data written to a pasteboard by this method should be read using the -readFileContentsType:toFile: or -readFileWrapper method.

If the data is retrieved using -dataForType: then it needs to be deserialized by the NSFileWrapper class.


writeFileWrapper: 

- (BOOL) writeFileWrapper: (NSFileWrapper*)wrapper;
Availability: OpenStep

Writes the contents of the file wrapper to the pasteboard server after declaring the type NSFileContentsPboardType as well as a type based on the file extension of the wrappers preferred filename if those types have not already been declared.

Raises an exception if there is no preferred filename.

Data written to a pasteboard by this method should be read using the -readFileContentsType:toFile: or -readFileWrapper method.

If the data is retrieved using -dataForType: then it needs to be deserialized by the NSFileWrapper class.




Instance Variables for NSPasteboard Class

changeCount

@protected int changeCount;
Availability: OpenStep

Description forthcoming.

name

@protected NSString* name;
Availability: OpenStep

Description forthcoming.

owner

@protected id owner;
Availability: OpenStep

Description forthcoming.

target

@protected id target;
Availability: OpenStep

Description forthcoming.

useHistory

@protected BOOL useHistory;
Availability: OpenStep

Description forthcoming.




Software documentation for the NSObject(NSPasteboardOwner) informal protocol

NSObject(NSPasteboardOwner)

Declared in:
AppKit/NSPasteboard.h
Availability: OpenStep

The NSPasteboardOwner informal protocal defines the messages that the pasteboard system will send to a pasteboard owner if they are implemented. These are needed to support lazy provision of pasteboard data.

Method summary


pasteboard: provideDataForType: 

- (void) pasteboard: (NSPasteboard*)sender provideDataForType: (NSString*)type;
Availability: OpenStep

This method is called by the pasteboard system when it does not have the data that has been asked for... the pasteboard owner should supply the data to the pasteboard by calling -setData:forType: or one of the related methods.

pasteboard: provideDataForType: andVersion: 

- (void) pasteboard: (NSPasteboard*)sender provideDataForType: (NSString*)type andVersion: (int)version;
Availability: Not in OpenStep/MacOS-X

Implemented where GNUstep pasteboard extensions are required.
This method is called by the pasteboard system when it does not have the data that has been asked for... the pasteboard owner should supply the data to the pasteboard by calling -setData:forType: or one of the related methods.

pasteboardChangedOwner: 

- (void) pasteboardChangedOwner: (NSPasteboard*)sender;
Availability: OpenStep

This method is called by the pasteboard system when another object takes ownership of the pasteboard... it lets the previous owner know that it is no longer required to supply data.

Software documentation for the NSObject(NSPasteboardReading) informal protocol

NSObject(NSPasteboardReading)

Declared in:
AppKit/NSPasteboard.h
Availability: MacOS-X 10.6.0

Description forthcoming.

Method summary


readingOptionsForType: pasteboard: 

+ (NSPasteboardReadingOptions) readingOptionsForType: (NSString*)type pasteboard: (NSPasteboard*)pasteboard;
Availability: MacOS-X 10.6.0

Description forthcoming.

initWithPasteboardPropertyList: ofType: 

- (id) initWithPasteboardPropertyList: (id)propertyList ofType: (NSString*)type;
Availability: MacOS-X 10.6.0

Description forthcoming.

Software documentation for the NSObject(NSPasteboardWriting) informal protocol

NSObject(NSPasteboardWriting)

Declared in:
AppKit/NSPasteboard.h
Availability: MacOS-X 10.6.0

Description forthcoming.

Method summary


writingOptionsForType: pasteboard: 

- (NSPasteboardWritingOptions) writingOptionsForType: (NSString*)type pasteboard: (NSPasteboard*)pasteboard;
Availability: MacOS-X 10.6.0

Description forthcoming.

Software documentation for the NSPasteboard(GNUstepExtensions) category

NSPasteboard(GNUstepExtensions)

Declared in:
AppKit/NSPasteboard.h
Availability: OpenStep

GNUstep specific extensions...

GNUstep adds a mechanism for mapping between OpenStep pasteboard types and MIME types. This is useful for inter-operation with other systems, as MIME types have come into common usage ( long after the OpenStep specification was created).

The other extension to the pasteboard system produced by GNUstep is the ability to keep a history of recent items placed in a pasteboard, and retrieve data from that history rather than just the current item.

Method summary


mimeTypeForPasteboardType: 

+ (NSString*) mimeTypeForPasteboardType: (NSString*)type;
Availability: OpenStep

Return the mapping for pasteboard->mime, or return the original pasteboard type if no mapping is found

pasteboardTypeForMimeType: 

+ (NSString*) pasteboardTypeForMimeType: (NSString*)mimeType;
Availability: OpenStep

Return the mapping for mime->pasteboard, or return the original pasteboard type if no mapping is found. This method may not have a one-to-one mapping

setChangeCount: 

- (void) setChangeCount: (int)count;
Availability: OpenStep

Once the -setChangeCount: message has been sent to an NSPasteboard the object will gain an extra GNUstep behaviour - when getting data from the pasteboard, the data need no longer be from the latest version but may be a version from a previous representation with the specified change count.

The value of count must be one which has previously been returned by -declareTypes:owner: and should not be further in the past than specified by the -setHistory: method.


setHistory: 

- (void) setHistory: (unsigned)length;
Availability: OpenStep

Sets the number of changes for which pasteboard data is kept.
This is 1 by default.

Software documentation for the NSURL(NSPasteboard) category

NSURL(NSPasteboard)

Declared in:
AppKit/NSPasteboard.h
Availability: MacOS-X 10.0.0

Category of NSURL providing convenience methods.

Method summary


URLFromPasteboard: 

+ (NSURL*) URLFromPasteboard: (NSPasteboard*)pasteBoard;
Availability: MacOS-X 10.0.0

Creates a URL with data (of NSURLPboardType) from pasteBoard.

writeToPasteboard: 

- (void) writeToPasteboard: (NSPasteboard*)pasteBoard;
Availability: MacOS-X 10.0.0

Writes the receiver (as data of NSURLPboardType) to pasteBoard.

Software documentation for the NSPasteboardReading protocol

NSPasteboardReading

Declared in:
AppKit/NSPasteboard.h
Conforms to:
NSObject
Availability: MacOS-X 10.6.0

Description forthcoming.

Method summary


readableTypesForPasteboard: 

+ (NSArray*) readableTypesForPasteboard: (NSPasteboard*)pasteboard;
Availability: MacOS-X 10.6.0

Description forthcoming.

Software documentation for the NSPasteboardWriting protocol

NSPasteboardWriting

Declared in:
AppKit/NSPasteboard.h
Conforms to:
NSObject
Availability: MacOS-X 10.6.0

Description forthcoming.

Method summary


pasteboardPropertyListForType: 

- (id) pasteboardPropertyListForType: (NSString*)type;
Availability: MacOS-X 10.6.0

Description forthcoming.

writableTypesForPasteboard: 

- (NSArray*) writableTypesForPasteboard: (NSPasteboard*)pasteboard;
Availability: MacOS-X 10.6.0

Description forthcoming.


Up