MomXML alternatives and similar libraries
Based on the "Core Data" category
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of MomXML or a related project?
Create or parse CoreData managed object model XMLs.
struct objects which describe each XML elements.
var momXML = MomXML() let entityStatus = MomEntity(name: "Status") momXML.model.entities.append(entityStatus) let elementStatus = MomElement(name: "Status") momXML.model.elements.append(elementStatus)
Contains extensions to make model objects
struct extensions to create XML string from
let string = momXML.xml
struct extensions to create this
struct objects using XML from
let xmlString = ... // from file or string let mom = MomXML(xml: SWXMLHash.parse(xmlString))
Contains CoreData extensions to create
let manageObjectModel: NSManagegObjectModel = ... let mom: MomXML = manageObjectModel.mom
So you can serialize in memory data model into xml.
struct extensions to create core data objects.
let mom: MomXML = .. let manageObjectModel: NSManagegObjectModel = mom.coreData
Carthage is a decentralized dependency manager for Objective-C and Swift.
Add the project to your Cartfile.
Run carthage update and follow the additional steps in order to add MomXML to your project.
Add the project to your Podfile to get Model/Equatable/ToXML.
For only Model.
There is many subspec to get only the code you want.
For all about XMLs.
For all about core data.
- Abstract classes
carthage update --platform osx
- ToCoreData is only partially implemented
- Unit Tests on FromCoreData and ToCoreData
- Make PR
*Note that all licence references and agreements mentioned in the MomXML README section above are relevant to that project's source code only.