Jump To:
Reference Library: Cocoa
Interapplication communication in Mac OS X enables high-level communication and data sharing among applications. Using the Cocoa programmatic interfaces for interapplication communication, developers can have their applications transfer data via the pasteboard, access the services of applications, interact with the workspace, notify other applications of events, and communicate directly with other applications.

Document Descriptions
On Off
Display

Sorted by
Title
Sort by
Resource Type
Sort by
Date
ABPresence (HTML) (DMG) (ZIP)
Displays a list of all the people in your Address Book and their iChat status.
Sample Code 2006-08-04
AddressBookCocoa (HTML) (DMG) (ZIP)
Demonstrates some basic manipulations of the Mac OS X 10.2.x (and beyond) Address Book API.
Sample Code 2003-01-14
AESendThreadSafe (HTML) (DMG) (ZIP)
Demonstrates how to send Apple events from threads other than the main thread.
Sample Code 2007-03-09
AttachAScript (HTML) (DMG) (ZIP)
Illustrates how you can extend any Cocoa application by adding some AppleScripts to it.
Sample Code 2006-07-27
BOM characters in 'utxt' clipboard flavor (HTML) (日本語 HTML)
QA1221: Explains the use of the BOM character in 'utxt' scrap data
Technical Q&As 2003-01-20
CocoaDragAndDrop (HTML) (DMG) (ZIP)
Implement Drag-and-Drop functionality in Cocoa (uses images; can be extended to support other data types).
Sample Code 2003-01-14
Distributed Objects Programming Topics (HTML) (PDF)
Explains how Objective-C objects in different threads or different processes communicate.
Guides 2007-06-06
Drag and Drop Programming Topics for Cocoa (HTML) (PDF)
Explains how to implement drag and drop in Cocoa.
Guides 2006-06-28
How to add other pasteboard types to an HFS Promise drag in Cocoa (HTML)
QA1300: Explains how to add other pasteboard types to an HFS Promise drag in Cocoa.
Technical Q&As 2003-09-15
How to set a custom drag image when doing an HFS Promise drag in Cocoa (HTML)
QA1200: Explains how to set a custom drag image when doing an HFS Promise drag in Cocoa.
Technical Q&As 2003-09-15
Interacting with the Operating System (HTML) (PDF)
Explains how Cocoa applications manage tasks and get information about hosts and processes.
Guides 2006-04-04
Launch Services Release Notes (HTML)
Release Notes 2007-10-31
Moriarity (HTML) (DMG) (ZIP)
Implementing a Cocoa GUI that wraps command-line functionality, calling a UNIX task and presenting the results in a GUI.
Sample Code 2003-01-14
MP3 Player (HTML) (DMG) (ZIP)
How to wrap a command-line UNIX/Linux application in a Cocoa GUI, calling a the command-line app through NSTask.
Sample Code 2003-01-14
NSConnection Class Reference (HTML) (PDF)
Describes the class for managing proxy connections when using distributed objects.
Reference 2008-02-08
NSDistantObject Class Reference (HTML) (PDF)
Describes the class for managing objects in other threads and applications.
Reference 2007-01-19
NSDistantObjectRequest Class Reference (HTML) (PDF)
Describes the class for inter-object communication in distributed objects.
Reference 2007-01-22
NSDistributedNotificationCenter Class Reference (HTML) (PDF)
Describes the class used to post notifications between tasks.
Reference 2007-04-01
NSDraggingDestination Protocol Reference (HTML) (PDF)
Describes the informal protocol whose methods the recipient of a dragged image must implement.
Reference 2007-03-01
NSDraggingInfo Protocol Reference (HTML) (PDF)
Describes the protocol used to supply information about a dragging session to a dragging destination.
Reference 2007-03-01
NSDraggingSource Protocol Reference (HTML) (PDF)
Describes the informal protocol whose methods the source of a dragged image must implement.
Reference 2007-03-01
NSInvocation Class Reference (HTML) (PDF)
Describes the class whose instances ecapsulate Objective-C messages for use in store-and-forward mechanisms such as distributed objects.
Reference 2007-04-19
NSInvocationOperation Class Reference (HTML) (PDF)
Describes the methods for implementing an invocation-based operation.
Reference 2007-04-12
NSMachBootstrapServer Class Reference (HTML) (PDF)
Describes the class for registering ports in the bootstrap domain.
Reference 2007-01-22
NSMachPort Class Reference (HTML) (PDF)
Describes the class for managing Mach ports.
Reference 2007-04-30
NSMessagePort Class Reference (HTML) (PDF)
Describes the class whose instances are endpoints in local communication through distributed objects or raw messaging.
Reference 2006-05-23
NSMessagePortNameServer Class Reference (HTML) (PDF)
Describes the class for taking and returning instances of NSMessagePort.
Reference 2007-02-23
NSNetService Class Reference (HTML) (PDF)
Describes the class used to publish or consume a network service using multicast DNS.
Reference 2008-02-08
NSNetServiceBrowser Class Reference (HTML) (PDF)
Describes the class used to find published services on a network using multicast DNS.
Reference 2007-04-02
NSNotification Class Reference (HTML) (PDF)
Describes the class that represents a notification to be broadcast through a notification center.
Reference 2007-04-02
NSPasteboard Class Reference (HTML) (PDF)
Describes the class used to support pasteboard operations.
Reference 2008-02-08
NSPipe Class Reference (HTML) (PDF)
Describes the class for communicating between processes using pipes.
Reference 2007-01-26
NSPort Class Reference (HTML) (PDF)
Describes the base class for implementing communication ports.
Reference 2007-07-19
NSPortCoder Class Reference (HTML) (PDF)
Describes the class used by distributed objects to transmit object proxies.
Reference 2007-01-29
NSPortMessage Class Reference (HTML) (PDF)
Describes the class used by distributed objects to encapsulate message data.
Reference 2007-01-29
NSPortNameServer Class Reference (HTML) (PDF)
Describes the class used by distributed objects for registering ports.
Reference 2007-01-29
NSProcessInfo Class Reference (HTML) (PDF)
Describes the class that provides access to information about the current process.
Reference 2007-03-26
NSProxy Class Reference (HTML) (PDF)
Describes the root class of Objective-C classes used in distributed objects.
Reference 2007-04-06
NSServicesRequests Protocol Reference (HTML) (PDF)
Describes the class for transferring data to the pasteboard during service requests.
Reference 2007-01-30
NSSocketPort Class Reference (HTML) (PDF)
Describes the class whose instances are used as socket endpoints for distributed object connections or raw messaging.
Reference 2007-01-30
NSSocketPortNameServer Class Reference (HTML) (PDF)
Describes the class for taking and returning instances of NSSocketPort.
Reference 2007-02-26
NSWorkspace Class Reference (HTML) (PDF)
Describes the class that provides an application access to Finder services.
Reference 2007-04-27
Pasteboard Programming Topics for Cocoa (HTML) (PDF)
Explains how to transfer data using pasteboard operations in Cocoa.
Guides 2007-07-13
PasteboardPeeker (HTML) (DMG) (ZIP)
Using pasteboards for Copy and Paste, Drag and Drop, service support and filter services.
Sample Code 2005-08-10
Public UTIs supported by Mac OS X v10.3 (HTML)
QA1406: Lists the public UTIs (Uniform Type Identifiers) used by the Pasteboard in Mac OS X v10.3.
Technical Q&As 2005-02-08
Re-enabling dragging from NSTableView to other applications (HTML) (日本語 HTML)
QA1220: Explains how to re-enable drag-and-drop from NSTableViews to other applications
Technical Q&As 2008-02-08
SBApplication Class Reference (HTML) (PDF)
Describes the automatically defined class through which Cocoa applications can communicate with scriptable applications using Objective-C.
Reference 2007-05-29
SBApplicationDelegate Protocol Reference (HTML) (PDF)
Describes the informal protocol for handling error Apple events returned from target applications.
Reference 2007-05-29
SBElementArray Class Reference (HTML) (PDF)
Describes the Scripting Bridge class for dealing with collections of related SBObjects.
Reference 2007-05-29
SBObject Class Reference (HTML) (PDF)
Describes the Scripting Bridge class that provides methods for communicating with objects in a scriptable application.
Reference 2007-05-29
SBSendEmail (HTML) (DMG) (ZIP)
Using the Scripting Bridge to tell Mail.app to send an email message with an optional attachment.
Sample Code 2008-02-28
Scripting Bridge Framework Reference (HTML) (PDF)
Describes the Objective-C API that allows Cocoa applications to communicate with scriptable applications.
Reference 2007-05-29
ScriptingBridgeiCal (HTML) (DMG) (ZIP)
Adding/updating events in iCal using Scripting Bridge.
Sample Code 2007-12-13
Sending an Email (HTML)
QA1084: Shows how to create an email in the user's prefered email application.
Technical Q&As 2004-11-05
SimpleThreads (HTML) (DMG) (ZIP)
Uses the Cocoa threading APIs to coordinate multiple preemptively scheduled secondary threads with the non-reentrant Cocoa framework.
Sample Code 2003-01-14
Simplifying Data Handling with Uniform Type Identifiers (HTML)
Learn to use UTIs to take advantage of key Mac OS X technologies in your application.
Articles 2005-07-12
System Services (HTML) (PDF)
Explains how Cocoa applications can extend their capabilities seamlessly to other applications.
Guides 2002-11-12
TrivialThreads (HTML) (DMG) (ZIP)
Uses the Cocoa threading APIs to coordinate a preemptively scheduled secondary thread with the non-reentrant Cocoa framework.
Sample Code 2003-01-14
Uniform Type Identifiers Overview (HTML) (PDF)
Describes uniform type identifiers and how to use them.
Guides 2008-04-08
Using the .Mac SDK (HTML)
Learn how the .Mac SDK can enhance your application with powerful web-integration features.
Articles 2005-01-25
Workspace Services Programming Topics (HTML) (PDF)
Explains how to use the services the workspace class provides to Cocoa applications.
Guides 2007-03-06
XML-RPC and SOAP Programming Guide (HTML) (PDF)
Explains how to make remote procedure calls from applications or from AppleScript scripts.
Guides 2005-03-03