Summary
This chapter shows how to use the NSPasteboard class and all the major system features that revolve around pasteboard objects. A simple implementation of cut, copy, and paste is demonstrated. Drag and drop is also demonstrated in several formats. Working with services as both a client and provider is also described.
Because all these features are so closely related, it is easy to implement them all if one has been implemented. It is to an application’s advantage to fully implement these features. Users appreciate applications that are willing to talk to each other, and pasteboards make it possible for developers to enhance the abilities of applications to communicate with each other.
The next chapter shows how to add online help to an ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access