Pages

Friday, January 25, 2013

Re: How to use NSData and NSBundle together?

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.


View the original article here

0 comments:

Post a Comment