Hi,
I have old code based on Apple's sample code (Sketch, I think) that uses the NSData.description method to return a hex string that can be saved in PLIST format, in its document data.
My app then reads that format for the document and recreates objects as needed.
I don't see any documentation for NSData.description changes, despite that this has apparently broken a number of apps that rely on it.
This was Apple sample code, and was an Apple sanctioned method of dealing with this type of data.
Is there a replacement for it? If not, should I move away from NSData to store information, if it cannot save data in a human readable format anymore?
Thank you,
I have old code based on Apple's sample code (Sketch, I think) that uses the NSData.description method to return a hex string that can be saved in PLIST format, in its document data.
My app then reads that format for the document and recreates objects as needed.
I don't see any documentation for NSData.description changes, despite that this has apparently broken a number of apps that rely on it.
This was Apple sample code, and was an Apple sanctioned method of dealing with this type of data.
Is there a replacement for it? If not, should I move away from NSData to store information, if it cannot save data in a human readable format anymore?
Thank you,
Chilton