QuickTime Kit Programming Guide - filibeto.org
QuickTime Kit Programming Guide - filibeto.org
QuickTime Kit Programming Guide - filibeto.org
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
C H A P T E R 2<br />
Building a Simple QT<strong>Kit</strong>Player Application<br />
In this chapter, you’ll build QT<strong>Kit</strong>Player, a simple application that demonstrates some of the power<br />
and flexibility of the <strong>QuickTime</strong> <strong>Kit</strong> framework. When completed, your QT<strong>Kit</strong>KPlayer application<br />
will allow you to open and play <strong>QuickTime</strong> movies, as shown in Figure 2-1. Amazingly, you won’t<br />
have to write a single line of code to implement this media player.<br />
Using Xcode as your integrated development environment (IDE), you’ll see how easy it is to work<br />
with the <strong>QuickTime</strong> <strong>Kit</strong> framework. In this example, you’ll use the new QT<strong>Kit</strong> palette provided in<br />
the Interface Builder collection of palettes. The QT<strong>Kit</strong> palette will do a lot of the work for you in<br />
constructing this application.<br />
Figure 2-1 The completed QT<strong>Kit</strong>Player application<br />
Using the QT<strong>Kit</strong> palette and Xcode, you’ll be able to build a functioning media player application<br />
that displays and controls the playback of <strong>QuickTime</strong> movies, including <strong>QuickTime</strong> movies that<br />
support sprites, <strong>QuickTime</strong> VR, Flash, and 3GPP, among other file types. You’ll even be able to add<br />
a contextual menu that includes editing commands, as shown in Figure 2-2––again, without writing<br />
a single line of code.<br />
2005-11-09 | © 2004, 2005 Apple Computer, Inc. All Rights Reserved.<br />
17