Version: 1.0.1

Posted: 2005-10-18

Build Requirements: Xcode 2.1 or greater.

Runtime Requirements: Mac OS X 10.4 or greater with QuickTime 7 or greater.

View Source Code:

Download Sample (“DelegateOnlyComponent.zip”, 158.2K)
Download Sample (“DelegateOnlyComponent.dmg”, 208.8K)



Description

DelegateOnlyComponent pretends to be an Image Codec. But all it does is delegate to a real Image Codec (in this case a '2vuy' decompressor).

This is a useful component sample to start with if you are writing a component to overide the functionality of another component, or just interested in seeing basic component functionality.

The project builds three targets:

1) A Test Application containing the DelegateOnly component linked into it that can be run as is.

2) A Test Application that requires the DelegateOnly component bundle to be installed in /Library/QuickTime/.

3) The DelegateOnly component bundle itself. This should be placed in /Library/QuickTime/.

This project builds universal binaries.

Document Revision History

Date Notes
2005-10-18Updated to produce a universal binary. No code changes were required.
2003-10-27Image Codec Component which simply delegates to a real Image Codec (in this case a '2vuy' decompressor).

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.