ftp.nice.ch/peanuts/GeneralData/Documents/openstep/OpenStepSpec_rtf.tar.gz#/OpenStepSpec_rtf/ApplicationKit/Protocols/NSServicesRequests.rtf

This is NSServicesRequests.rtf in view mode; [Download] [Up]

Copyright ©1994 by NeXT Computer, Inc.  All Rights Reserved.


NSServicesRequests
(informal protocol)

Category Of:tab NSObject

Declared In:tab AppKit/NSApplication.h


Protocol Description


This informal protocol consists of two methods, writeSelectionToPasteboard:types: and readSelectionFromPasteboard:. The first is implemented to provide data to a remote service, and the second to receive any data the remote service might send back. Both respond to messages that are generated when the user chooses a command from the Services menu.


Pasteboard Read/Write


- (BOOL)readSelectionFromPasteboard:(NSPasteboard *)pboard
tab Implemented to replace the current selection (that is, the text or objects that are currently selected) with data from pboard.

- (BOOL)writeSelectionToPasteboard:(NSPasteboard *)pboard
types:(NSArray *)typestab Implemented to write the current selection to pboard as types data. 



These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.