In this app, I have a lot of user data that will be saved for the next time the pp is launched.
Is
[aString writeToFile: filename]
and
aString = [NSString stringWithContentsOfFile: filename]
the easiest way to save data?
In the simulator file filename ends up in the hard-drive's root directory. Where does it end up in the iPhone?
Does it matter where it ends up because the iPhone's "harddrive" can't actually be accessed by the user?
Where should I put the file?
Is there a function that returns a file path that is specific to the app?
Jerry
Is
[aString writeToFile: filename]
and
aString = [NSString stringWithContentsOfFile: filename]
the easiest way to save data?
In the simulator file filename ends up in the hard-drive's root directory. Where does it end up in the iPhone?
Does it matter where it ends up because the iPhone's "harddrive" can't actually be accessed by the user?
Where should I put the file?
Is there a function that returns a file path that is specific to the app?
Jerry