> On Jun 11, 2015, at 1:16 PM, Brendan Duddridge <[email protected]> wrote:
> 
> Further to this topic of inverse relationships, what happens if I sync and 
> get a new TFField object coming in that should be attached to my TFForm 
> object's fields array? Will that just automatically happen? I may need to add 
> an observer on my fields array to fire off any KVO notifications in order to 
> update my UI with the new field(s) from the sync.

Sorry, KVO isn’t supported yet for inverse relations. The property is 
recomputed by querying every time you call the accessor, so it’ll always have 
the up-to-date value, but there’s nothing that proactively notices that the 
database has changed and triggers a KVO notification.

—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/8DD5B44B-C560-4958-8DB8-E1D2D3CEF213%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to