NSData
has a method called writeToURL:atomically:
that does exactly what you want to do. Look in the documentation for NSData
to see how to use it.
NSData
has a method called writeToURL:atomically:
that does exactly what you want to do. Look in the documentation for NSData
to see how to use it.