Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saving? #38

Open
MikeJaoudi opened this issue Oct 13, 2011 · 1 comment
Open

Saving? #38

MikeJaoudi opened this issue Oct 13, 2011 · 1 comment

Comments

@MikeJaoudi
Copy link
Collaborator

Should we have a save state feature?

@orta
Copy link
Owner

orta commented Oct 14, 2011

Yes. I think we're at a point where not having it is a bit awkwards. Plus it helps that I actually have a iPhone now, so I'd like to see them both synced over iCloud.

My previous thoughts on this had been to have a way to transform the entire object graph into a JSON data structure, and then be able to go back from that. Alas, what this means is that we'd need our own API at a lower level for finding out when properties on objects change.

This might be possible using KeyValueWatching on the WibbleObject so that it monitors changes to its own vars. Otherwise there may be a need to have a way to say what variables you want saving on an object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants