Objective-C methods for synching local database files with SQL Server databases.
Zumero for SQL Server (ZSS) allows you to synchronize a SQLite database file with data stored in MS SQL Server. This enables your app to keep a local/offline copy of your server-side data and interact with it using the familiar and ubiquitous SQLite library. Zumero will synchronize the local SQLite data with the remote SQL Server data. Zumero takes care of two-way synchronization, translating data types, verifying permissions, and handling conflicts.
This extension includes code from the ZSS Client SDK, which is freely available. It contains the client-side code necessary to sync with a ZSS Server, which is an IIS add-on that must ultimately be purchased and installed on your own server infrastructure. The ZSS Server then communicates with your SQL Server as needed.
See the installation guide at zumero.com for details on setting up Zumero for SQL Server; this client library requires a server with which to sync.
- An available instance of Zumero for SQL Server
- iOS 6 or later, or
- Mac OS 10.6 or later
ZumeroSync is available through CocoaPods. To install it simply add the following line to your Podfile:
By default, the official SQLite pod will be used for database access.
To use encrypted local storage on iOS, use SQLCipher instead; including:
instead of the default
pod reference will include SQLCipher.
This is a significant upgrade, and should only be used with ZSS 3.x servers. Older clients will work with ZSS 3.x servers, but newer client libraries are not backwards compatible.
Please see the ZSS upgrade tutorial at zumero.com/howto/zss-upgrade for details on the recommended upgrade path.
To maintain compatibility with ZSS 1.x servers, append
, '~> 1.5' to the
ZumeroSync line in your Podfile, e.g.
pod 'ZumeroSync', '~> 1.5'
For ZSS 2.x servers, append
, '~> 2.3' instead, e.g.:
pod 'ZumeroSync', '~> 2.3'
Zumero LLC, email@example.com
ZumeroSync is available under the Apache license (v2). See the LICENSE file for more info.