The NSBundle class has some methods for finding resources in the application bundle, if that is where your file is located. You just need to provide a valid path for your file read/write, wherever that is. If you are trying to use some kind of preference, look at NSUserDefaults, if you are using one of the standard directories such as the temporary directory, look at NSFileManager, etc.
0 comments:
Post a Comment