• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to embed a file into my project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: How to embed a file into my project
      • From: Todd Blanchard <email@hidden>
References: 
 >How to embed a file into my project (From: Derrick Carlin <email@hidden>)
 >Re: How to embed a file into my project (From: Todd Blanchard <email@hidden>)

  • Prev by Date: Re: How to embed a file into my project
  • Next by Date: Re: How to embed a file into my project
  • Previous by thread: Re: How to embed a file into my project
  • Next by thread: Re: How to embed a file into my project
  • Index(es):
    • Date
    • Thread