Maybe because what's actually changing is a value within an NSDictionary 
property and not the entire values property itself?


On Wednesday, September 14, 2016 at 8:33:44 PM UTC-6, Jens Alfke wrote:
>
>
> On Sep 14, 2016, at 4:17 PM, Brendan Duddridge <bren...@gmail.com 
> <javascript:>> wrote:
>
> Do I need to force the CBLModel instances to update themselves after a 
> sync? Or do I need to refetch them from the database in order to get 
> updated data in my model objects?
>
>
> No, the model object should automatically update whenever the document 
> does. This is weird.
>
> The update of the CBLModel’s properties is triggered by a call from 
> -[CBLDocument revisionAdded:notify:]. I can’t think of how the 
> CBLDocument’s properties could change without this happening.
>
> —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 mobile-couchbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/4f3eae6d-d9c7-4bbd-98b8-3d969491c6b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to