Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 415 Bytes

NOTES.md

File metadata and controls

9 lines (6 loc) · 415 Bytes

Heap Stored objects

It appears that objects that are stored on the heap may not be persisted easily. This is likely due to ARC possibly deallocating their heap allocated memory as their reference count would drop to 0 between calls to update.

It may be possible to cheat ARC by using swift's Unmanaged API. However, this probably only work for class types as Unmanaged is limited to AnyObject