ios - NSFetchedResultsController change tracking -


i know nsfetchedresultscontroller tracks changes bg context (i.e. merge changes).

does track changes main context?

i.e. if have nsfetchedresultscontroller fetching person objects , use "edit person" view change actual person passed in controller see change?

a fetched results controller tracks only changes own context. if save changes on background context , merge changes main context, frc on main context see these changes (normally, see below). saying "tracks changes bg context" misleading.

whether frc sees non-persistent changes, depends on setting of includespendingchanges in fetch request. default, value yes, unless set value of resulttype nsdictionaryresulttype. in case, frc returns state of persistent store, , change tracking not work @ all.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -