Up

NSPasteboardItem

Authors

Daniel Ferreira (dtf@stanford.edu)

Date: Generated at 2023-12-22 15:07:50 -0500

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:
NSPasteboardWriting
NSPasteboardReading
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
Conforms to:
NSObject
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