Instance Method

setCompositionsFromRepositoryWithProtocol:andAttributes:

Sets the compositions in the composition picker view to those that match the specified criteria.

Declaration

- (void)setCompositionsFromRepositoryWithProtocol:(NSString *)protocol andAttributes:(NSDictionary *)attributes;

Parameters

protocol

The protocols that you want compositions shown in the picker view to conform to. You can pass any of these protocols: QCCompositionProtocolAnimation, QCCompositionProtocolImageProducer, QCCompositionProtocolImageFilter, QCCompositionProtocolImageCompositor, QCCompositionProtocolImageTransition, and QCCompositionProtocolScreenSaverRSS.

attributes

A dictionary that contains the attributes, and their associated values, that you want compositions in the picker view to match. For example, you can pass: QCCompositionAttributeNameKey, QCCompositionAttributeDescriptionKey, QCCompositionAttributeCopyrightKey, QCCompositionAttributeBuiltInKey, and QCCompositionAttributeTimeDependentKey. Pass nil if you don’t want to filter based on the attributes.

See Also

Managing the Composition Picker View

- compositions

Returns the list of compositions that are currently in the composition picker view.

Deprecated
- setAllowsEmptySelection:

Sets whether to allow an empty selection in the composition picker view.

Deprecated
- allowsEmptySelection

Retrieves the empty-selection state of the composition picker view.

Deprecated
- setCompositionAspectRatio:

Sets the aspect ratio used to display compositions in the composition picker view.

Deprecated
- compositionAspectRatio

Retrieves the aspect ratio used to display compositions in the composition picker view.

Deprecated
- setSelectedComposition:

Sets a composition as selected in the composition picker view.

Deprecated
- selectedComposition

Returns the composition that is currently selected in the composition picker view.

Deprecated