|
|
Version: 1.0 Posted: 2009-05-27 Build Requirements: Xcode 3.2 or later, Mac OS X v10.6 or later. Runtime Requirements: Mac OS X v10.6 or later. Download Sample Code (DemoMonkey.zip, 263.0K) |
||||
DescriptionThis example shows how to use pasteboard and services APIs for Mac OS X v10.6 and later. The example is a document-based application which serves as a "typing assistant". Each document contains a collection of text snippets which you can insert in turn into another application using a service. When creating a document, you can import text snippets also using a service. The application uses the pasteboard to support copy and paste and drag and drop. Drag and drop is illustrated using a subclass of NSArrayController in conjunction with Cocoa bindings. Document Revision History
|