I don't fully understand the question regarding the custom patches. If
your QTZ is NOT using any custom patches, then you can wrap it in an
app quite easily without writing any code
http://developer.apple.com/documentation/GraphicsImaging/Conceptual/QuartzComposer/qc_play_ib/chapter_4_section_1.html#/
/apple_ref/doc/uid/TP40001357-CH207-TPXREF101
if your QTZ DOES use a custom patch, then you have to write some code
to load and play the QTZ
http://developer.apple.com/documentation/GraphicsImaging/Conceptual/QuartzComposer/qc_play_renderer/chapter_6_section_1.html#/
/apple_ref/doc/uid/TP40001357-CH209-TPXREF101
and before loading the QTZ you need to use this
http://developer.apple.com/documentation/Cocoa/Reference/QCPlugIn_Class/Introduction/Introduction.html#/
/apple_ref/occ/clm/QCPlugIn/loadPlugInAtPath:
if you search the archives someone posted a nice code snippet which
searches the application bundle for plugins and loads them.
actually just found it in my flagged messages :P
On 3 Jun 2008, at 13:38, Marc Epard wrote:
I put my plugins in the app bundle's frameworks directory and load
them with:
BOOL loadPlugInsFromBundle()
{
BOOL allWereLoaded = YES;
NSArray *pluginPaths = [NSBundle
pathsForResourcesOfType:@"plugin" inDirectory:[[NSBundle
mainBundle] privateFrameworksPath]];
for (NSString *path in pluginPaths)
{
if (![QCPlugIn loadPlugInAtPath:path])
{
allWereLoaded = NO;
NSLog(@"Could not load [EMAIL PROTECTED]", path);
}
}
return allWereLoaded;
}
I use the frameworks directory instead of the plugins directory to
avoid the Finder's plugin configuration UI. Check it out at
colordecoder.com.
There is one catch. Plugins with the same name in one of your
Library folders will load first and prevent the bundle's plugins
from loading. If they're the same, it'll be fine, but if they're
different, you'll have problems.
-Marc
Memo (Mehmet S. Akten)
www.memo.tv
[EMAIL PROTECTED]
On 11 Jul 2008, at 10:12, Mark Harris wrote:
sorry I ment to say "Also will the stand alone apps work > WITHOUT
< custom patches installed" (sloppy typing )
Hi... How would I go about making a Stand alone application from a
Quartz file? From what I've read you can use Xcode - are there some
online tutorials for this? Also will the stand alone apps work with
custom patches installed and can they run on PC's as well?
Thanks MArk
___________________________________________________
Fluid
Fluid Studios, 12 Tenby Street, Birmingham B1 3AJ
Tel: +44 (0) 121 212 0121 Fax: +44 (0) 121 212 0202
E-mail: [EMAIL PROTECTED] Web: http://www.fluidesign.co.uk
___________________________________________________
All concepts/images included in this electronic mail remain ©
copyright of
Fluid Graphic Designs Ltd T/A Fluid 2008.
Privileged, confidential and/or copyright information may be
contained In
this email, and is only for the use of the intended addressee. To
copy,
forward, disclose or otherwise use it in any way if you are not The
intended
recipient or responsible for delivering to him/her is prohibited.
If you
receive this in error, please contact the sender and delete the
material
from any Computer.
___________________________________________________
_______________________________________________
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/memo%40memo.tv
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]