Cure for Persistent Data
  • Main difficulties:
    • swizzling of relational pointers,
    • presence of hidden virtual function pointers.
  • The easy part:
    • values and other members.
  • When all pointers are controlled by the library, the library can store/restore data automatically.
  • Making data safely persistent takes a significant effort.