Classes

NSActionCell
NSAlert
NSApplication
NSArrayController
NSBezierPath
NSBitmapImageRep
NSBox
NSBrowser
NSBrowserCell
NSButton
NSButtonCell
NSCachedImageRep
NSCell
NSClipView
NSCollectionView
NSCollectionViewItem
NSColor
NSColorList
NSColorPanel
NSColorPicker
NSColorWell
NSComboBox
NSComboBoxCell
NSControl
NSController
NSCursor
NSCustomImageRep
NSDataLink
NSDataLinkManager
NSDataLinkPanel
NSDatePicker
NSDatePickerCell
NSDocument
NSDocumentController
NSDrawer
NSDrawerDelegate
NSEPSImageRep
NSEvent
NSFont
NSFontDescriptor
NSFontManager
NSFontPanel
NSForm
NSFormCell
NSGraphicsContext
NSHelpManager
NSHelpPanel
NSImage
NSImageCell
NSImageRep
NSImageView
NSInputServer
NSMatrix
NSMenu
NSMenuItem
NSMenuItemCell
NSMenuView
NSMovie
NSMovieView
NSMutableParagraphStyle
NSNib
NSObjectController
NSOpenGLContext
NSOpenGLPixelFormat
NSOpenGLView
NSOpenPanel
NSOutlineView
NSPageLayout
NSPanel
NSParagraphStyle
NSPasteboard
NSPasteboardItem
NSPopUpButton
NSPopUpButtonCell
NSPredicateEditor
NSPredicateEditorRowTemplate
NSPrintInfo
NSPrintOperation
NSPrintPanel
NSPrinter
NSProgressIndicator
NSResponder
NSRuleEditor
NSRulerMarker
NSSavePanel
NSScreen
NSScrollView
NSScroller
NSSecureTextField
NSSecureTextFieldCell
NSSelection
NSSharingService
NSSharingServicePicker
NSSlider
NSSliderCell
NSSound
NSSpeechSynthesizer
NSSpellChecker
NSSplitView
NSStepper
NSStepperCell
NSTabView
NSTabViewItem
NSTableColumn
NSTableHeaderCell
NSTableHeaderView
NSTableView
NSText
NSTextAttachment
NSTextAttachmentCell
NSTextContainer
NSTextField
NSTextFieldCell
NSTextStorage
NSTextTab
NSTextView
NSTokenField
NSTokenFieldCell
NSUserDefaultsController
NSView
NSWindow
NSWindowController
NSWorkspace

Protocols

<GSImageDelegateProtocol>
<NSAlertDelegate>
<NSApplicationDelegate>
<NSBrowserDelegate>
<NSCollectionViewDataSource>
<NSCollectionViewDelegate>
<NSCollectionViewElement>
<NSCollectionViewPrefetching>
<NSComboBoxCellDataSource>
<NSComboBoxDataSource>
<NSComboBoxDelegate>
<NSControlTextEditingDelegate>
<NSInputServerMouseTracker>
<NSInputServiceProvider>
<NSMatrixDelegate>
<NSMenuDelegate>
<NSMenuItem>
<NSMenuValidation>
<NSMenuView>
<NSOpenSavePanelDelegate>
<NSOutlineViewDataSource>
<NSOutlineViewDelegate>
<NSPasteboardItemDataProvider>
<NSPasteboardReading>
<NSPasteboardWriting>
<NSPrintPanelAccessorizing>
<NSRuleEditorDelegate>
<NSSharingServiceDelegate>
<NSSharingServicePickerDelegate>
<NSSpeechSynthesizerDelegate>
<NSSplitViewDelegate>
<NSTabViewDelegate>
<NSTableViewDataSource>
<NSTableViewDelegate>
<NSTextAttachmentCell>
<NSTextFieldDelegate>
<NSTextViewDelegate>
<NSWindowDelegate>
(NSAlertDelegate)
(NSApplicationDelegate)
(NSBrowserDelegate)
(NSComboBoxCellDataSource)
(NSControlDelegate)
(NSControlTextEditingDelegate)
(NSDataLinkManagerDelegate)
(NSDataPickerCellDelegate)
(NSEditor)
(NSEditorRegistration)
(NSFontManagerDelegate)
(NSFontPanelValidation)
(NSMenuActionResponder)
(NSMenuDelegate)
(NSOpenSavePanelDelegate)
(NSPasteboardItemDataProvider)
(NSPasteboardOwner)
(NSPasteboardReading)
(NSPasteboardWriting)
(NSPlaceholder)
(NSSavePanelDelegate)
(NSServicesRequests)
(NSSoundDelegate)
(NSSpeechSynthesizerDelegate)
(NSSplitViewDelegate)
(NSTableDataSource)
(NSTableViewDelegate)
(NSTextDelegate)
(NSTextStorageDelegate)
(NSTextViewDelegate)
(NSWindowDelegate)
(NSWindowDelegateAdditions)

Constants

Functions

Macros

Types

Variables

Up

NSPasteboardItem

Authors

Daniel Ferreira (dtf@stanford.edu)

Date: Generated at 2025-07-12 14:18:56 +0000

class for wrapping pasteboard content

Copyright: (C) (C) 2017 Free Software Foundation, Inc.


Contents -

  1. Software documentation for the NSPasteboardItem class
  2. Software documentation for the NSObject(NSPasteboardItemDataProvider) informal protocol
  3. Software documentation for the NSPasteboardItemDataProvider protocol

Software documentation for the NSPasteboardItem class

NSPasteboardItem : NSObject

Declared in:
AppKit/NSPasteboardItem.h
Conforms to:
NSPasteboardReading
NSPasteboardWriting
Availability: MacOS-X 10.6.0

Description forthcoming.

Instance Variables

Method summary


availableTypeFromArray: 

- (NSString*) availableTypeFromArray: (NSArray*)types;
Availability: MacOS-X 10.6.0

Description forthcoming.

dataForType: 

- (NSData*) dataForType: (NSString*)type;
Availability: MacOS-X 10.6.0

Description forthcoming.

propertyListForType: 

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

Description forthcoming.

setData: forType: 

- (BOOL) setData: (NSData*)data forType: (NSString*)type;
Availability: MacOS-X 10.6.0

Description forthcoming.

setDataProvider: forTypes: 

- (BOOL) setDataProvider: (id<NSPasteboardItemDataProvider>)dataProvider forTypes: (NSArray*)types;
Availability: MacOS-X 10.6.0

Description forthcoming.

setPropertyList: forType: 

- (BOOL) setPropertyList: (id)propertyList forType: (NSString*)type;
Availability: MacOS-X 10.6.0

Description forthcoming.

setString: forType: 

- (BOOL) setString: (NSString*)string forType: (NSString*)type;
Availability: MacOS-X 10.6.0

Description forthcoming.

stringForType: 

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

Description forthcoming.

types 

- (NSArray*) types;
Availability: MacOS-X 10.6.0

Description forthcoming.



Instance Variables for NSPasteboardItem Class

_dataMap

@protected NSMutableDictionary* _dataMap;
Availability: MacOS-X 10.6.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_providerMap

@protected NSMutableDictionary* _providerMap;
Availability: MacOS-X 10.6.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_types

@protected NSMutableArray* _types;
Availability: MacOS-X 10.6.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.




Software documentation for the NSObject(NSPasteboardItemDataProvider) informal protocol

NSObject(NSPasteboardItemDataProvider)

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

Description forthcoming.

Method summary


pasteboardFinishedWithDataProvider: 

- (void) pasteboardFinishedWithDataProvider: (NSPasteboard*)pasteboard;
Availability: MacOS-X 10.6.0

Description forthcoming.

Software documentation for the NSPasteboardItemDataProvider protocol

NSPasteboardItemDataProvider

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

Description forthcoming.

Method summary


pasteboard: item: provideDataForType: 

- (void) pasteboard: (NSPasteboard*)pasteboard item: (NSPasteboardItem*)item provideDataForType: (NSString*)type;
Availability: MacOS-X 10.6.0

Description forthcoming.


Up