If you’ve come to this chapter without working through the code examples in the previous chapters of this guide, you may want to return to the sections beginning with “First Steps.” Those sections provide you with a background understanding of how to work with Xcode and Interface Builder.
You’ll need, as described in previous chapters, to be running Mac OS X v10.5 and have the following items installed on your system:
Xcode 3 and Interface Builder 3. Note that although you can use Xcode 2.2 to build your project, to take full advantage of the new programming features available, you’ll want to use Xcode 3. Also, Interface Builder 3 provides a new paradigm for working with and building the user interface for your application. Palettes are no longer provided; instead, you’ll work with a new library of controls that are designed to enable you to hook up the components of your user interface with greater ease and efficiency. In the end, you’ll be able to build applications faster and take advantage of this rich, new library of controls.
The QuickTime Kit framework, which resides in the Mac OS X v10.5 System/Library/Frameworks directory as QTKit.framework.
An iSight camera connected to your computer.
Important: The complete sample code discussed in this chapter is available for download at Sample Code: QuickTime Cocoa, as StillMotion.
Note: The StillMotion sample code described in this chapter will not support input from DV cameras, which are of type QTMediaTypeMuxed, rather than QTMediaTypeVideo. To add support for DV cameras, read the chapter “Adding Audio Input and DV Camera Support.”
Last updated: 2007-10-31