NetNewsWire/Frameworks/Account/CloudKit/CKRecord+Extensions.swift

27 lines
361 B
Swift
Raw Normal View History

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
extension CKRecord {
var externalID: String {
return recordID.externalID
}
}
2020-03-29 18:53:52 +02:00
extension CKRecord.ID {
var externalID: String {
return recordName
}
}