Skip to content

AQAquamarine/aquasync-ios

Repository files navigation

Aquasync-iOS

SIMPLE.

[[AQSyncManager sharedInstance] sync];

to perform synchronization. Errors and retries are automatically handled.

Requirements

//AQModelManagerProtocol.h

+ (NSArray *)aq_extractDeltas;
+ (void)aq_receiveDeltas:(NSArray *)deltas;
+ (void)aq_undirtyRecordsFromDeltas:(NSArray *)deltas;
  • Then just simply [[AQSyncManager sharedInstance] sync];