Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Use a ModelHelper to save a List doc #48

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jamesnocentini
Copy link
Contributor

Same method in ToDoLite-iOS is here.

In this PR, ModelHelper is a simple class to serialize/deserialize json docs to model classes.

I'm not sure if this ModelHelper should also handle the 1::1 relationship between the model and the document.

CBLModel subclasses have a document property to keep a reference to a document from the model.

Would be good to have that too but without the subclassing mechanism as this is just a model helper (not a full featured ODM).

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

Successfully merging this pull request may close these issues.

2 participants