Module cloudkit

Module cloudkit 

Source
Expand description

CloudKit-backed CloudHome implementation.

CloudKit’s CKAsset has a 50MB limit, so large files are split into 10MB chunks stored as separate records: key.part0, key.part1, etc.

The CloudKitOps trait defines synchronous record operations that are implemented in Swift via a UniFFI callback interface. CloudKitCloudHome wraps these ops, adds chunking logic, and implements CloudHome.

Structs§

CloudKitCloudHome
CloudKit-backed cloud home with automatic chunking for large files.

Traits§

CloudKitOps
Synchronous interface for raw CloudKit record operations. Implemented in Swift via UniFFI callback interface. Methods block the calling thread while CloudKit async operations complete.