Reverse engineer Core Data 'mom' file

ⅰ亾dé卋堺 提交于 2019-12-21 03:51:04

问题


Is there any way to reverse engineer a Core Data 'mom' file (compiled core data model)?


回答1:


There is a way to do this easily.

You can import a compiled datamodel file (.mom) into a model design document (.xcdatamodel) using Xcode > Design > Data Model > Import. This will effectively allow you to 'reverse engineer', if you wish, the compiled mom file and inspect it's model.

Edit:

In the Xcode 5 and later, the menu is under Editor->Import. But this menu will only appear when you click the .xcdatamodel



来源:https://stackoverflow.com/questions/4645685/reverse-engineer-core-data-mom-file

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