There isn't an API for this, you must go through the editor.
1.) Open a composition in the Quartz Composer application
2.) Choose Editor>Protocol Conformance
3.) Select which protocols you want.
4.) Save.
On Oct 31, 2007, at 12:17 PM, Christophe Ducommun wrote:
I try to copy some compositions in the Library/Composition folder in
the user folder in order to
use the QCCompositionRepository class.
I don't have found any method to add a composition to the
repository, but in the doc, it says
that the qc files are in the Library/Compositions folder at the root
or in the user folder path.
I try to copy some olds qc files in this folder, but they don't have
a protocol conformance because
they have been added in Leopard.
I want to update from my app the protocol conformance attribute of
the qc file, but I don't have found
any method to save the QC file after editing the attributes.
How can I do that ?
I want to :
1) Create a QCComposition object from a qc file
2) Editing the protocol conformance attribute of the QCComposition
object
3) Save the QC file
4) Copy the QC file to the /Library/Composition folder in the home
user folder.
Thanks
Christophe
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected]
)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/tkoelling%40apple.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]