Re: Bundeling resources with xcode
Re: Bundeling resources with xcode
- Subject: Re: Bundeling resources with xcode
- From: Markus Hitter <email@hidden>
- Date: Thu, 6 Nov 2003 12:55:28 +0100
Am 06.11.2003 um 11:58 schrieb Ketil Kyrre Nordstad:
If I use the libc function to print cwd I get
'/Users/ketilkn/Documents/pb_tutorial/iYumyum/build' when I run from
xcode. When running from Applications as stand alone I get / (root).
Why do this differ,
Probably for no particular reason. You simply can't rely on your
current working directory.
and how do I fix this?
NSBundle has some nice methods to find your resources.
HTH,
Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.