CoreData schema evolution with Simperium

£可爱£侵袭症+ 提交于 2019-12-11 11:25:56

问题


How does Simperium handle schema evolution with CoreData? It looked like schema evolution is not currently supported according to the docs, so are there techniques to handle it in the app?


回答1:


Any schema changes that can be handled by Core Data's lightweight migration can also be handled by Simperium. Currently, other changes like renaming or removing attributes can work with Simperium as long as you're properly handling the local migration on users' devices.

This works because Simperium's schemas are dynamic by default. What's not yet exposed is a way to lock in a particular version of a schema and map this to a corresponding version of your app's model. We're testing this internally; if you need it, please get in touch.



来源:https://stackoverflow.com/questions/12186379/coredata-schema-evolution-with-simperium

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!