I am working on some code that I inherited from a programmer who is no longer with my company. In this code, a few images are encoded as base 64 string, then subsequently stored in NSUserDefaults inside a NSDictionary. The issue I am having is if the application has been killed (i.e. thorugh the mulitasking UI), the dictionary containing the data does not seem to load.
Are Base 64 strings considered a property list objects in Objective-C?
I realize this is NOT the ideal solution for storing data on disk, but this is what I have to work with for the immdeiate future.
Do they show up in the application’s plist as
stringordata? If the latter, they’re encodedNSDataobjects; try usingobjectForKey:and then-[NSImage initWithData:].