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

Extending the QT<strong>Kit</strong>Player To Stream Audio and Video<br />

9. Add a menu item in the File menu as Open URL. . . with a key equivalent of Command-U, and<br />

specify its attributes as shown in Figure 5-8.<br />

Figure 5-8 The main menu nib with the menu attributes specified<br />

10. Now subclass NSObject and create a new class called QT<strong>Kit</strong>PlayerAppDelegate.<br />

11. Select QT<strong>Kit</strong>PlayerAppDelegate from the list of classes in your MainMenu.nib and open the<br />

Attributes pane.<br />

Constructing the Open URL Panel 85<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!