MomXML alternatives and similar libraries
Based on the "Core Data" category.
Alternatively, view MomXML alternatives based on common mentions on social networks and blogs.
-
Skopelos
A minimalistic, thread safe, non-boilerplate and super easy to use version of Active Record on Core Data. Simply all you need for doing Core Data. Swift flavour. -
JustPersist
DISCONTINUED. JustPersist is the easiest and safest way to do persistence on iOS with Core Data support out of the box. It also allows you to migrate to any other persistence framework with minimal effort. -
CloudCore
Robust CoreData-CloudKit synchronization, including offline queuing, relationships, private, shared and public databases, field-level deltas, encrypted values, maskable attributes, cacheable assets, and more. -
Cadmium
A Swift framework that wraps CoreData, hides context complexity, and helps facilitate best practices. -
CoreDataOperation
A fast, safe, flexible operation class for updating data stored in Core Data, written in Swift.
CodeRabbit: AI Code Reviews for Developers
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of MomXML or a related project?
README
MomXML
Create or parse CoreData managed object model XMLs.
Project description
Model
Contains 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)
Equatable
Contains extensions to make model objects Equatable
.
ToXML
Contains struct
extensions to create XML string from struct
objects.
let string = momXML.xml
FromXML
Contains struct
extensions to create this struct
objects using XML from SWXMLHash
frameworks.
let xmlString = ... // from file or string
let mom = MomXML(xml: SWXMLHash.parse(xmlString))
FromCoreData
Contains CoreData extensions to create struct
objects.
let manageObjectModel: NSManagegObjectModel = ...
let mom: MomXML = manageObjectModel.mom
So you can serialize in memory data model into xml.
ToCoreData
Contains struct
extensions to create core data objects.
let mom: MomXML = ..
let manageObjectModel: NSManagegObjectModel = mom.coreData
Setup
Using Carthage
Carthage is a decentralized dependency manager for Objective-C and Swift.
Add the project to your Cartfile.
github "phimage/MomXML"
Run carthage update and follow the additional steps in order to add MomXML to your project.
Using Cocoapod
Add the project to your Podfile to get Model/Equatable/ToXML.
pod "MomXML"
For only Model.
pod "MomXML/Model"
There is many subspec to get only the code you want.
For all about XMLs.
pod "MomXML/XML"
For all about core data.
pod "MomXML/CoreData"
Limitations
- Abstract classes
- ...
Develop
Download dependencies
Execute
carthage update --platform osx
TODO
- ToCoreData is only partially implemented
- Unit Tests on FromCoreData and ToCoreData
Contribute
- Fork
- 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.