This project allow to inject JSON data from 4D rest API to a Core Data database.
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.
coredataimporter --structure <path> --asset <path> --output <path> (--quiet --verbosity)
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 |
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
launch.sh
will launch some tests using data available into Resources
, Resources2
, etc...