vvopensource
|
Load a Quartz Composer composition and parse it as a text file (QC comps are basically big plists) to retrieve data about the composition without invoking the Quartz Composer runtime, which can be slow. More...
#import <VVQCComposition.h>
Inherits NSObject.
Instance Methods | |
(id) | - initWithFile: |
Init an instance of VVQCComposition from a file at the given path. | |
(NSDictionary *) | - publishedInputsDict |
Retruns an NSDictionary describing the top-level published inputs in the composition. | |
(NSDictionary *) | - publishedOutputsDict |
Returns an NSDictionary describing the top-level published output in the composition. | |
(NSString *) | - compositionName |
Returns the name of the composition. | |
(NSString *) | - compositionPath |
Returns the path of the composition. | |
(NSArray *) | - inputKeys |
Returns an array of strings. Each string is the name of a published input splitter- the strings are ordered according to their order in the QC editor. | |
(NSString *) | - category |
Returns the category of the composition. | |
(NSString *) | - description |
Returns the description of the composition. | |
(NSArray *) | - protocols |
Returns an array of NSStrings describing the protocol that this composition conforms to. | |
(BOOL) | - hasLiveInput |
Returns YES if this composition has a live input. | |
Class Methods | |
(BOOL) | + pathLooksLikeALegitComposition: |
returns NO if the path begins with a period (invisible), doesn't have an extension, or doesn't end in "qtz" (case-insensitive) | |
(id) | + compositionWithFile: |
Creates and returns an auto-released instance of VVQCComposition from a file at the given path. | |
Load a Quartz Composer composition and parse it as a text file (QC comps are basically big plists) to retrieve data about the composition without invoking the Quartz Composer runtime, which can be slow.
OTHER NOTES ON THE LAYOUT OF QUARTZ COMPOSER DOCUMENTS: