Re: Adding Resource Bundles
Re: Adding Resource Bundles
- Subject: Re: Adding Resource Bundles
- From: Fritz Anderson <email@hidden>
- Date: Fri, 26 Aug 2005 11:27:41 -0500
On 26 Aug 2005, at 10:47 AM, David Dunham wrote:
#ifdef LINUX
loadTexture("images/image.bmp");
#else
loadTexture("MyApp.app/Contents/Resources/image.bmp");
#endif
I'm just curios now if there's a cleaner way of doing this?
Perhaps some preprocessor variable for "MyApp.app/Contents/
Resources"?
This will fail if any user renames your application (which they
will do).
It will also fail as soon as the application is run stand-alone, as
applications in Mac OS X are (at present) run with the working
directory set to /.
-- F
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden