• 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: Bundeling resources with xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Bundeling resources with xcode
      • From: David P Henderson <email@hidden>
References: 
 >Bundeling resources with xcode (From: Ketil Kyrre Nordstad <email@hidden>)

  • Prev by Date: Re: xcode-users digest, Vol 1 #41 - 21 msgs
  • Next by Date: Re: XCode usable?
  • Previous by thread: Bundeling resources with xcode
  • Next by thread: Re: Bundeling resources with xcode
  • Index(es):
    • Date
    • Thread