02.04.2013 Views

QuickTime Kit Programming Guide - filibeto.org

QuickTime Kit Programming Guide - filibeto.org

QuickTime Kit Programming Guide - filibeto.org

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

C H A P T E R 3<br />

Extending the QT<strong>Kit</strong>Player Application<br />

If you’ve built the simple QT<strong>Kit</strong>Player application described in the previous chapter, you are now<br />

ready to extend its functionality by following the steps outlined in this chapter. If you skipped the<br />

previous chapter, you may want to familiarize yourself with the section “Working With the QT<strong>Kit</strong><br />

Palette” (page 21), which introduces the new Cocoa-QT<strong>Kit</strong> palette available in the <strong>QuickTime</strong> <strong>Kit</strong><br />

framework. This chapter assumes that, at very least, you have:<br />

■ A basic knowledge of Cocoa development as well as the fundamentals of the Objective-C<br />

programming language<br />

■ An understanding of Xcode, Interface Builder, and the QT<strong>Kit</strong> palette<br />

When completed, your extended QT<strong>Kit</strong>KPlayer application will allow you not only to open and play<br />

<strong>QuickTime</strong> movies, but also to import and export them, as shown in Figure 3-1.<br />

This added capability means that your application will be able to import and display a wide range<br />

of media types that <strong>QuickTime</strong> understands and supports in Mac OS X, including but not restricted<br />

to MP4 clips, JPEG images, and audio files, as you can see in the illustration in Figure 3-2 (page 31).<br />

In so doing, your application moves beyond a simple media player and provides useful functionality<br />

for handling a variety of media types and playback tasks.<br />

2005-11-09 | © 2004, 2005 Apple Computer, Inc. All Rights Reserved.<br />

29

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

Saved successfully!

Ooh no, something went wrong!