I know it is not good idea to use plist or xml for huge amount of arbitrary binary data for some performance reasons.
Suppose my data format is an array of (some strings, an integer, binary data) where the size of binary data is over a few megabytes(not fixed) and the arrary size is hundreds say. I want to serialize and store whole data in one file on my Documents directory and read only some of them from that file into memory. So, I first thought using plist is a way to achieve the requirement, but as mentioned above it is not good way.
One way to avoid the problem is to use paths of binary data instead of binary data and then I can use Core Data or something similar. But, then that does not satisfy the requirement.
I spent several days to find an appropriate framework, it seems there is none. Should I build my own encoding and deconding methods in my case? NSArchiving is enough to achieve my requirement?