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

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 />

8. In your QT<strong>Kit</strong>Player Xcode project window, open Targets in the Groups & Files list and then<br />

double-click QT<strong>Kit</strong>Player. When the Target “QT<strong>Kit</strong>Player” Info window opens, select the Properties<br />

pane, as shown in Figure 2-7.<br />

Figure 2-7 The Target “QT<strong>Kit</strong>Player” Info window with the Properties pane displayed<br />

9. Select the DocumentType row and in the Extensions column, enter mov and in the OS Types<br />

column, enter MooV. Note that, strictly speaking, this step is not necessary if you use Interface<br />

Builder to specify the movie––it knows how to open movies.<br />

The next section discusses how to use the new QT<strong>Kit</strong> palette in Interface Builder to construct the<br />

QT<strong>Kit</strong>Player application.<br />

Working With the QT<strong>Kit</strong> Palette<br />

In this phase of constructing your QT<strong>Kit</strong>Player application, you’ll work with the new QT<strong>Kit</strong> palette<br />

in Interface Builder. After you’ve completed these steps, you’ll be able to build and run the QT<strong>Kit</strong>Player<br />

in Xcode––without modifying any of your source files or adding any lines of code to them.<br />

The QT<strong>Kit</strong> palette resides in the /Developer/Extras/Palettes directory. To access the palette, you<br />

can either double-click to launch it in Interface Builder, or drag the palette into the<br />

/Developer/Palettes directory, in which case it will appear among the palettes in the toolbar shown<br />

in Figure 2-8. You can place the QT<strong>Kit</strong> palette at any position in the row of palettes, in this case next<br />

to the Sherlock icon.<br />

To finish building your QT<strong>Kit</strong>Player, follow these steps:<br />

Working With the QT<strong>Kit</strong> Palette 21<br />

2005-11-09 | © 2004, 2005 Apple Computer, Inc. All Rights Reserved.

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

Saved successfully!

Ooh no, something went wrong!