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
accountStatusDeclaration
Swift
func accountStatus(completionHandler: @escaping (CKAccountStatus, Error?) -> Void) -
accountStatus()Extension methodDetermines whether the system can access the user’s iCloud account.
See also
accountStatusDeclaration
Swift
public func accountStatus() -> AnyPublisher<CKAccountStatus, Error>Return Value
A
Publisherthat emits a singleCKAccountStatus, or an error if CombineCloudKit is unable to determine the account status. The publisher ignores requests for cooperative cancellation.
View on GitHub
CCKContainer Protocol Reference