File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 11Change Log
22==========
33
4+ ## Next
5+
6+ ### Offline mode
7+
8+ - Expose last successful sync date (property ` MirroredIndex.lastSuccessfulSyncDate ` )
9+
10+
411## 3.5 (2016-07-29)
512
613- New ` multipleQueries() ` method at index level
Original file line number Diff line number Diff line change @@ -145,6 +145,11 @@ import Foundation
145145 /// Minimum delay between two syncs.
146146 @objc public var delayBetweenSyncs : NSTimeInterval = DefaultDelayBetweenSyncs
147147
148+ /// Date of the last successful sync, or nil if the index has never been successfully synced.
149+ @objc public var lastSuccessfulSyncDate : NSDate ? {
150+ return mirrorSettings. lastSyncDate
151+ }
152+
148153 /// Error encountered by the current/last sync (if any).
149154 @objc public private( set) var syncError : NSError ?
150155
You can’t perform that action at this time.
0 commit comments