On Jan 17, 2014, at 8:35 AM, K Beyer 
<[email protected]<mailto:[email protected]>> wrote:

I'd like to do the same thing ... have support for child models that don't need 
to be separate docs.  Currently, we have a base class which takes a 
NSDictionary to set up the properties ... it's used for model properties that 
don't have separate doc ... but the CBLJSONEncoding looks like a better 
approach.
Jens - Is this a good example to follow for your suggestion?

Yes, it sounds like CBLJSONEncoding is what you want. It's pretty simplistic, 
but hopefully useful. You may be interested in reading or contributing to issue 
221<https://github.com/couchbase/couchbase-lite-ios/issues/221> which describes 
some of its current limitations and suggests improvements.

—Jens

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/E891FE49-761E-4BF4-8709-B2931EFF9282%40couchbase.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to