Re: ScreenSaver & Bundles
Re: ScreenSaver & Bundles
- Subject: Re: ScreenSaver & Bundles
- From: Calum Robinson <email@hidden>
- Date: Thu, 11 Apr 2002 09:57:11 +0000
[NSBundle bundleWithIdentifier:@"com.you.yoursaver"]
Whilst this may look really slow, it searches all of the loaded bundles
first for the specified identifier.
On Wednesday, April 10, 2002, at 08:57 pm, Michael P. Rogers wrote:
Greetings,
I'm trying to bring an image in my resources folder into a
ScreenSaverView. But this code:
imagePath = [ [NSBundle mainBundle]pathForResource:@"map"
ofType:@"gif"];
gets me null, although map.gif is in the resources folder of my .saver.
What's the right way to access this?
Calum Robinson
http://homepage.mac.com/calumr
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.