Next Page > Hide TOC

QCCompositionPickerViewDelegate Protocol Reference

(informal protocol)

Framework
/System/Library/Frameworks/Quartz.framework/Frameworks/QuartzComposer.framework
Companion guide
Declared in
QCCompositionPickerView.h

Overview

The QCCompositionPickerViewDelegate informal protocol defines methods that allow your application to respond to changes in a composition picker view (a QCCompositionPickerView object).

Tasks

Responding to Composition Selections

Responding to Animation State Changes

Instance Methods

compositionPickerView:didSelectComposition:

Performs custom tasks when the selected composition in the composition picker view changes.

- (void) compositionPickerView:(QCCompositionPickerView*)pickerView didSelectComposition:(QCComposition*)composition

Parameters
pickerView

The composition picker view in which the selection changed.

composition

The selected composition or nil if the previously selected composition is no longer selected.

Discussion

Quartz Composer invokes this method when the selected composition in the composition picker view changes. Implement this method if you want to perform custom tasks at that time.

Availability
Declared In
QCCompositionPickerView.h

compositionPickerViewDidStartAnimating:

Performs custom tasks when the composition picker view starts animating a composition.

- (void) compositionPickerViewDidStartAnimating:(QCCompositionPickerView*)pickerView

Parameters
pickerView

The composition picker view in which the composition started animating.

Discussion

Quartz Composer invokes this method when the composition picker view starts animating a composition. Implement this method if you want to perform custom tasks at that time.

Availability
Declared In
QCCompositionPickerView.h

compositionPickerViewWillStopAnimating:

Performs custom tasks when the composition picker view stops animating a composition.

(void) compositionPickerViewWillStopAnimating:(QCCompositionPickerView*)pickerView

Parameters
pickerView

The composition picker view in which the composition stopped animating.

Discussion

Quartz Composer invokes this method whenever the composition picker view stops animating a composition. Implement this method if you want to perform custom tasks at that time.

Availability
Declared In
QCCompositionPickerView.h

Next Page > Hide TOC


© 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-05-09)


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.