Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding compositions to QCCompositionRepository



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@hidden )
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden
References: 
 >Adding compositions to QCCompositionRepository (From: Christophe Ducommun <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.