CCKContainer
public protocol CCKContainer
A protocol used to abstract a CKContainer
.
Invoke the extension methods on your CKContainer
instances in order to create Publishers
.
See also
CloudKit
See also
Combine
-
Implemented by
CKContainer
.See also
accountStatus
Declaration
Swift
func accountStatus(completionHandler: @escaping (CKAccountStatus, Error?) -> Void)
-
accountStatus()
Extension methodDetermines whether the system can access the user’s iCloud account.
See also
accountStatus
Declaration
Swift
public func accountStatus() -> AnyPublisher<CKAccountStatus, Error>
Return Value
A
Publisher
that emits a singleCKAccountStatus
, or an error if CombineCloudKit is unable to determine the account status. The publisher ignores requests for cooperative cancellation.