• 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: RE:currentDirectoryPath returns different paths
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RE:currentDirectoryPath returns different paths


  • Subject: Re: RE:currentDirectoryPath returns different paths
  • From: "Michael Ash" <email@hidden>
  • Date: Thu, 27 Jul 2006 17:59:01 -0400

On 7/27/06, Jordan Evans <email@hidden> wrote:
I stopped the app and searched for that file.  A file created in this
way will always be created in the current directory.  Although this
proves it, it's tedious.  I would control your directory by always
using the -changeCurrentDirectoryPath: before any writing or reading.

Much better is to simply do what most people do and never use relative paths for anything with anything ever.

The only time I would even consider touching these methods is if I was
integrating weird legacy code that relied on the working directory.
For new code I never write anything that uses relative paths.

Mike
_______________________________________________
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


References: 
 >RE:currentDirectoryPath returns different paths (From: "Jordan Evans" <email@hidden>)

  • Prev by Date: 'inserted' and 'removed' arrays in observeValueForKeyPath's change dictionary always nil
  • Next by Date: Re: How do I pattern an image in a view w/o "scrolling"?
  • Previous by thread: RE:currentDirectoryPath returns different paths
  • Next by thread: File transfer to server
  • Index(es):
    • Date
    • Thread