Version: 1.3

Posted: 2005-08-01

Build Requirements: XCode 2.0+

Runtime Requirements: Mac OS X 10.4, or Mac OS X 10.3.9 and QuickTime 7.0

View Source Code:

Download Sample (“QTKitAdvancedDocument.zip”, 63.8K)
Download Sample (“QTKitAdvancedDocument.dmg”, 112.3K)



Description

This sample shows how to enhance the simple document-based Cocoa application that opens and displays QuickTime movies.

This sample code has been updated to include a project that produces a universal binary. No code changes were required for it to run correctly on the Developer Transition Systems

This sample resizes the movie window to conform to the natural size of the movie. It also shows how to hide the default NSWindow resize box and replace it with the QuickTIme resize box; this allows all the buttons on the controller bar to work as expected.

This sample also shows how to limit the types of files that are selectable in the Open file panel.

Document Revision History

Date Notes
2005-08-01Added missing XCode 2.1 project file
2005-07-21Updated to produce a universal binary. No code changes were required.
2005-06-01Enhances the QTKitSimpleDocument sample to resize the movie window and limit selectable file types in open panels

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.