Skip to content

SyncEngine 1.1.0

Latest

Choose a tag to compare

@launchapp-studio launchapp-studio released this 29 Oct 21:28

Added

  • SyncEngine.pendingCount — the number of .pending records across your syncableTypes. It refreshes on creation, after every main-context save, and after each sync(). Call refreshPendingCount() after saving from another context.
  • DatabaseActor.pendingCount(ofType:) — counts pending records of a type without loading them.

Changed

  • SyncStatusBadge now shows "N Pending" while records are waiting for the next sync(), instead of "Synced". Priority: Offline → Syncing → Error → N Pending → Synced.

Fully source-compatible with 1.0.0.