Saving/Opening Files - different under PB than with build of app
Saving/Opening Files - different under PB than with build of app
- Subject: Saving/Opening Files - different under PB than with build of app
- From: John Nestor <email@hidden>
- Date: Sat, 22 Dec 2001 21:15:26 -0500
I write a dictionary to file as follows: [theDictionary
writeToFile:@"foo" atomically:YES]; The file "foo"
appears in my build folder along with the build.
I read it back in using: [theDictionary withContentsOfFile:@"foo"];
The file is intended to be read in automatically on app launch and saved
automatically at termination.
The project is non document based
This works fine under PB. Also, FWIW examining "foo" with BBEdit shows
what I expect.
However, when I launch the build instead of running under PB the file is
not read in.
I fear I am missing something very fundamental but haven't been able to
ferret it out of the docs.
Appreciate any help.