05.01.2013 Views

Mac OS X Leopard - ARCAism

Mac OS X Leopard - ARCAism

Mac OS X Leopard - ARCAism

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

432<br />

CHAPTER 24 MAC <strong>OS</strong> X DEVELOPMENT: THE APPLICATION FRAMEWORKS<br />

Even if your application does not produce video in the traditional sense, the frame-by-frame<br />

access afforded by the Core Video framework, discussed later, makes it easy for you to provide<br />

static images to the video feed. iChat Theater and the Instant Message framework make it easy<br />

to turn your single-user experience into a collaborative multiuser masterpiece.<br />

PDF Kit<br />

<strong>Mac</strong> users have long been able to take advantage of Adobe’s Portable Document Format. While<br />

other systems have required special tools for dealing with this universal format, <strong>Mac</strong> <strong>OS</strong> X has<br />

PDF support built in. Not only can users view PDFs with the bundled Preview application, they<br />

can create PDFs from any application via the Print panel.<br />

The PDF Kit framework gives developers the ability to incorporate Preview’s high-performance<br />

PDF rendering engine in their own applications. If you’ve ever used Preview, you know this goes<br />

far beyond simply displaying PDFs.<br />

Interface Builder includes a PDF view, as shown in Figure 24-10. It has specialized behaviors,<br />

like crop, zoom, and rotate. PDF Kit also provides for document navigation, letting users<br />

jump to the next or previous page, the first or last page, or to an arbitrary page.<br />

Figure 24-10. PDF Kit’s view in Interface Builder is literally self-documenting.<br />

Here are some other features PDF Kit handles:<br />

• Annotations, which are additions to the page that are not part of the page itself, like sticky<br />

notes and editable text fields<br />

• Encryption, including ownership, and permissions, such as limiting the ability to copy or<br />

print<br />

• Outlining, which is an interactive table of contents showing the structure of a PDF<br />

document<br />

• Pagination, which gives PDFs a familiar, book-like appearance<br />

• Searching a PDF’s content, as with Spotlight<br />

• Selection, including the ability to highlight and copy text to the pasteboard<br />

NOTE For more about Preview and <strong>Mac</strong> <strong>OS</strong> X’s PDF capabilities, see Chapter 14.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!