Initializer

init(file:)

Initializes and returns a composition layer using the Quartz Composer composition in the specified file.

Declaration

init!(file path: String!)

Parameters

path

A string that specifies the location of a Quartz Composer composition.

Return Value

The initialized QCCompositionLayer object or nil if initialization is not successful.

See Also

Creating a Composition Layer

init!(composition: QCComposition!)

Initializes and returns a composition layer using the provided Quartz Composer composition.

Deprecated