My suggestion is that you simply don't load the compositions that begin with "User Backdrops". _______________________________________________

Well, the plugins I'm trying to load don't begin with "User Backdrops"; there are several in the /System/Library/Compositions folder - e.g., Yosemite. I mean, that folder is intended to be public, no? Anyway.. thanks for all of the help all of you have provided.

Apple introduced the concept of system- and user-compositions in Leopard. There is now a QCCompositionRepository class that should be used to load these compositions. I never used it myself, but according to the docs, it only loads .qtz files from /Library/Compositions and ~/ Library/Compositions, but not from /System/Library/Compositions.

When Apple gives you an API to do what you are trying to do yourself right now, and they are specifically not including the compositions in /System/Library/Compositions, I wouldn't take the chance and load them just like that. If I were you, I'd do a [[QCCompositionRepository sharedCompositionRepository] allCompositions] and then *maybe* load specific .qtz files from /System/Library/Compositions (only those you know are safe and you really want to use) with their names more or less hard coded into your App, so you can be sure that a future OS update won't interfere with your loading mechanisms.

Marco
 _______________________________________________
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]

Reply via email to