2020-03-29 18:53:52 +02:00
|
|
|
//
|
|
|
|
// CKRecord+Extensions.swift
|
|
|
|
// Account
|
|
|
|
//
|
|
|
|
// Created by Maurice Parker on 3/29/20.
|
|
|
|
// Copyright © 2020 Ranchero Software, LLC. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
import Foundation
|
|
|
|
import CloudKit
|
|
|
|
|
2020-03-30 00:12:34 +02:00
|
|
|
extension CKRecord {
|
|
|
|
|
|
|
|
var externalID: String {
|
|
|
|
return recordID.externalID
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2020-03-29 18:53:52 +02:00
|
|
|
extension CKRecord.ID {
|
|
|
|
|
|
|
|
var externalID: String {
|
|
|
|
return recordName
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|