couchbase/couchbase-lite-ios — pull request #404 by pasin (2014-08-05 18:30:11+00:00)
Title: Fix #310 Mutated sub model not being saved issue

* Add the code that checks for 'CBLJSONEncoding' protocol and assign OnMutate block if the value implements 'setOnMutate' in the 'impForSetterOfProperty' method.
* Add 'API_SaveMutatedSubModel' test.