I see the CKRecord class has a `modificationDate: Date`, but I'm tempted to add my own field for resolving conflicts, because that field represents the time the record was saved in CloudKit, not the time the change was actually made on the local device. Imagine...
- At time t=1, record A changes on device 1.
- At t=2, record A changes on device 2.
- At t=3, record A uploads to CloudKit from device 1.
- At t=4, device 2 see the change to A from device 1 and tries to resolve a conflict with "last writer wins". If it looks at the CKRecord.modificationDate, it will see the modificationDate as t=3 and it will overwrite the change from device #2 at t=2. In reality the time of the change from device #1 was t=1 and device #2's change should win.
Rob