Skip to content

4d/ios-CoreDataImport

Repository files navigation

CoreDataImporter

This project allow to inject JSON data from 4D rest API to a Core Data database.

Deploy

This tool is mainly used by 4D Mobile App to create the data set.

To inject a custom build you must place in Resources/scripts of 4D Mobile App component.

Usage

coredataimporter --structure <path> --asset <path> --output <path> (--quiet --verbosity)

Dependencies

This project depends on code from iOS SDK.

Name License Usefulness
QMobileAPI 4D Network api to decode JSON
QMobileDataStore 4D Store data in core data
QMobileDataSync 4D Synchronize data into database

And some others frameworks

Name License Usefulness
Prephirences MIT Application settings
MomXML MIT Play with core data model
XCGLogger MIT Log
Commandant MIT command line argument parser

Build

swift package update
swift build -c release

or simply call build.sh

If success a binary coredataimporter will be available at path: .build/release/coredataimport

Testing

launch.sh will launch some tests using data available into Resources, Resources2, etc...

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages