FW: NSFileManager
FW: NSFileManager
- Subject: FW: NSFileManager
- From: "Tommy Braas" <email@hidden>
- Date: Sun, 24 Jun 2001 10:08:08 -0700
Greetings all!
I have just started developing in Cocoa, way cool!!!
I have a minor problem though, I am probably setting things up incorrectly, but here it is...
I am trying to use NSFileManager to get the current working directory path from a Cocoa application. I don't want to throw up a file chooser as I am trying to read a preferences file from within my application package. Whenever I use the following code the output is "/" when I run the application by double-clicking.
NSLog( [ fileManager currentDirectoryPath ] );
BUT...when I use the same code running through PB it reports the correct path!!!
Please, someone, what am I doing wrong???
Thanks!
\tommy