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.