Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

Interoperability

Interoperability refers to a program’s ability to communicate across environments. This communication can occur at either the user or the program level and can involve processes on the current computer or on remote computers. At the program level, an interoperable program supports ways to move data back and forth between itself and other programs. It might therefore support the pasteboard and be able to read file formats from other programs on either the same or a different platform. It also makes sure that the data it creates can be read by other programs on the system.

Users see interoperability in features such as the pasteboard (the Clipboard in the user interface), drag and drop, AppleScript, Bonjour, and services in the Services menu. All of these features provide ways for the user to get data into or out of an application.

Table 7-6 lists some Mac OS X technologies that you can use to improve the interoperability of your software.

Table 7-6  Technologies for achieving interoperability

Technology

Description

AppleScript

AppleScript is a scripting system that gives users direct control over your application as well as parts of Mac OS X. See AppleScript Overview for information on supporting AppleScript.

Drag and drop

Although primarily implemented in applications, you can add drag and drop support to any program with a user interface. See Drag Manager Reference or Drag and Drop Programming Topics for Cocoa for information on how to integrate drag and drop support into your program.

Pasteboard

Both Carbon and Cocoa support cut, copy, and paste operations through the pasteboard. See the Pasteboard.h header file in the HIServices framework or Pasteboard Programming Topics for Cocoa for information on how to support the pasteboard in your program.

Bonjour

Your program can vend network services or use Bonjour to be a client of an existing network service. For more information, see “Bonjour.”

Services

Services let the user perform a specific operation in your application using data on the pasteboard. Services use the pasteboard to exchange data but act on that data in a more focused manner than a standard copy-and-paste operation. For example, a service might create a new mail message and paste the data into the message body. See Setting Up Your Carbon Application to Use the Services Menu or System Services for information on setting up an application to use services.

XML

XML is a structured format that can be used for data interchange. Mac OS X provides extensive support for reading, writing, and parsing XML data. For more information, see “XML Parsing Libraries.”



< Previous PageNext Page > Hide TOC


Last updated: 2007-10-31




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice