
550 9 Chapter 27: Writing and Using Services
realized that to bring them to market they need to implement and re-
implement a host of surround features that they have no interest in.
For all this, services are remarkably easy to implement in Cocoa.
Note that services rely on the object that is known to users as the
clipboard and to programmers as the pasteboard. As its program-
matic name is NSPasteboard, that terminology is used in this chap-
ter. In describing it to users, you should refer to the clipboard.
How Services Work
The Basic
Service
Structure
When you copy data to or from the clipboard, its type (text,
picture, ...