TKTripConflict
@interface TKTripConflict : NSObject
Trip Conflict model.
This object is used to specify the user’s decision whether to keep a local (on device) version of a particular trip or prefer the the remote (server) version contributed in the meantime.
-
Optional name of a person authoring the remote Trip instance.
Declaration
Objective-C
@property (readonly, copy, nonatomic, nullable) NSString *remoteTripEditor;
Swift
var remoteTripEditor: String? { get }
-
Optional date when the remote Trip instance has been pushed.
Declaration
Objective-C
@property (readonly, strong, nonatomic, nullable) NSDate *remoteTripUpdateDate;
Swift
var remoteTripUpdateDate: Date? { get }
-
A flag indicating whether the local Trip instance should be force-pushed to the server (
YES
) or rather overwritten by the server version (NO
).Declaration
Objective-C
@property (assign, readwrite, atomic) BOOL forceLocalTrip;
Swift
var forceLocalTrip: Bool { get set }