Re: How to embed a file into my project
Re: How to embed a file into my project
- Subject: Re: How to embed a file into my project
- From: Derrick Carlin <email@hidden>
- Date: Tue, 12 Jul 2005 22:58:23 -0700
Thanks for the quick response! I was looking at the NSBundle but
wasn't getting anywhere.
How do I add it to the Copy Bundle Resources build phase? I've got
it in resources.
I've modified my code like so:
NSString *filePath = [[NSBundle mainBundle]
pathForResource:@"DcScreenSaver1" ofType:@"qtz"];
_renderer = [[QCRenderer alloc]
initWithOpenGLContext:_openGLContext pixelFormat:format file:filePath];
I'm very new to this. THANKS much for your help.
-
Derrick Carlin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden