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

6. Now in the OpenURLPanel.nib, select OpenURLPanel from the list of classes. You can type<br />

“OpenURLPanel” in the search box and press return, or click NSObject to locate the OpenURLPanel<br />

class. Add mPanel and mUrlComboBox as your outlets, as shown in Figure 5-6.<br />

Figure 5-6 The outlets for the OpenURLPanel class<br />

7. Now add one action to the the OpenURLPanel class in the Attributes pane, as shown in Figure<br />

5-7.<br />

Figure 5-7 Action added to the OpenURLPanel<br />

8. Save the nib and open the MainMenu.nib - MainMenu.<br />

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