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.
Declaration Syntax
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 )
Parameters
- path (NSString)
- A string that specifies the location of a Quartz Composer composition.
Return Value
An autoreleased, initialized QCCompositionLayer object or nil if initialization is not successful.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)