| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Hi Derrick, If you add the composition file to your XCode project, when it is compiled the .qtz file is copied as a resource, and you can access it using the code below. NSString * path = [[NSBundle mainBundle] pathForResource:@"DcScreenSaver1" ofType:@"qtz"]; if (![_view loadCompositionFromFile: path]) { NSLog(@"Could not load composition from path: %@)!", path); } Hope this is what you were after! Kind regards, Tim On 13/07/2005, at 3:11 PM, Derrick Carlin wrote: How can I embed a file into my application? |
_______________________________________________ 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: | |
| >(no subject) (From: Derrick Carlin <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.