This iOS framework synchronize the data from 4D database to the mobile database QMobileDataStore, by using 4D Rest API through QMobileAPI
Part of iOS SDK
DataSync
instance have some methods to synchronize (or reload) the data.
1/ This methods loop on available tables on native mobile database, get latest data from 4D using the rest api and by specifying the stamp of modification, then store it in the native database
2/ Then at the end deleted records/entities are synchronized by getting data from table __DeletedRecords
Name | License | Usefulness |
---|---|---|
QMobileAPI | 4D | Network api |
QMobileDataStore | 4D | Store data |
To download dependencies use carthage checkout
then open workspace with Xcode and compile
You can open Package.swift with Xcode and compile or launch standards command line for swift, see build.sh