3 ms·
This sounds a lot like NSCoding for Objective-C (Cocoa). Though you'd still have to define the types/classes and name for each property you want to save. But yo
by seivan 13y ago
This sounds a lot like NSCoding for Objective-C (Cocoa).
Though you'd still have to define the types/classes and name for each property you want to save.
But you could technically save it in a big blob, and then read it into memory as you resume.
Could persist to disk as a binary, sql or a plist (xml).
I guess the only downside is, that if you got a lot of composite classes all with their own properties and associations (say a graph), there's a lot of manual work to be done.