Is there any way to reverse engineer a Core Data 'mom' file (compiled core data model)?
相关问题
- Core Data lightweight migration crashes after App
- Can two managed object context share one single pe
- Multiple instances of _CDSnapshot_[entityName]_
- ELF Relocation reverse engineering
- Reverse engineer Ceasar cipher
相关文章
- Generate code for core data attributes in xcode 4
- Core Data sort descriptor with NSDate, iOS with Sw
- NSFetchedResultsChangeUpdate fired instead of NSFe
- Case Insensitive Compare with Core Data and Swift
- Renaming coredata .xcdatamodeld file and migration
- Subclass.fetchRequest() Swift 3.0, extension not r
- Core Data NSManagedObject doesn't have a valid
- swift sync data of core data an mysql database [cl
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