I want to save each NSData
object to a temp directory in iOS and I want each new object to overwrite the old one.
Objects will be of different formats and of different sizes.
I know how do you get the path to the NSTemporaryDirectory
but how on Earth can you overwrite old NSData
file in there each time a new one is added?