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

Adding Multimedia Playback Capability<br />

7. Connect the Show Movies button to the ViewTestsController object.<br />

Figure 6-3 The layout of the objects in the content window with the Present Movies menu item selected<br />

Each task is outlined in the next sections of this chapter. You’ll start as you have before with Interface<br />

Builder and then move on to add the code you need in two separate Xcode files.<br />

Constructing The Multimedia Playback Engine<br />

By now you should be familiar with how to work with Interface Builder and its various palettes,<br />

icons, and objects. For purposes of simplicity and to move things forward a bit faster, this means<br />

combining a few basic steps in constructing your multimedia playback engine with all the different<br />

QTMovieView objects in view. To start:<br />

1. Drag a window object from the Cocoa-Windows palette in Interface Builder into your<br />

MainMenu.nib and name it View Tests Window.<br />

Constructing The Multimedia Playback Engine 103<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!