Why the Extension is “momd” but not “xcdatamodel” when search the path for the Model file

The mom and momd files are compiled versions of xcdatamodel and xcdatamodeld files.

There information about how the compiling process works here (page 31). To quote from the docs:

A data model is a deployment resource. In addition to details of the entities and properties in the model, a model you create in Xcode contains information about the diagram—its layout, colors of elements, and so on. This latter information is not needed at runtime. The model file is compiled using the model compiler, momc, to remove the extraneous information and make runtime loading of the resource as efficient as possible.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)