epreston/PSArborTouch — Issue #2: Implement graph and system serialisation
Author: epreston
Created: 2011-10-09 13:54:24+00:00
State: open
Labels: Improvements

The a basic NSCoding protocol implementation has been added for classes that will participate in serialisation. This implementation needs to be tested and refined to allow for quick and easy serialisation of state, simulation parameters, and graph data.

Benefits:

The system class abstracts the library user from the implementation details; extending it to support easy save and restore of graphs and system state will make this easier to use. Particularly on the iOS platform where users expect to view and manipulate the graph then quickly switch to another application, reliably saving and restoring state is essential. This will reduce the boiler-plate code required to use the library. Standardising the serialisation interface will allow for future extensions in this area without breaking existing code bases.

Category: Functionality

Milestone: Library Code Review