Creates and returns an instance of a composition layer using the Quartz Composer composition in the specified file.
Original signature is '+ (QCCompositionLayer*)compositionLayerWithFile:(NSString*)path'
Available in Mac OS X v10.5 and later.

C# | Visual Basic | Visual C++ |
public static QCCompositionLayer CompositionLayerWithFile( NSString path )
Public Shared Function CompositionLayerWithFile ( _ path As NSString _ ) As QCCompositionLayer
public: static QCCompositionLayer^ CompositionLayerWithFile( NSString^ path )

- path (NSString)
- A string that specifies the location of a Quartz Composer composition.

An autoreleased, initialized QCCompositionLayer object or nil if initialization is not successful.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)