Hour 21. Sharing Data

In this hour, you’ll learn how to share data between applications and how to share data with the outside world. Custom URLs let you start other applications. Pasteboards were introduced in iPhone OS 3.0 to support copy and paste, but provide a general mechanism for sharing data between applications. Finally, you’ll learn to export data by sending email and creating a tiny web server.

Using Custom URLs

A URL’s scheme specifies its protocol. In Hour 14, “Accessing the Network,” you learned about the http, ftp, and file schemes. Mail has its own mailto scheme, which is used to open an email, and the iPhone introduces its own tel scheme ...

Get Sams Teach Yourself Cocoa Touch™ Programming in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.