The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

When working with an Xcode project:

When working with a Swift Package Manager manifest:

Select a package version:

1.1.0

main


SwiftDataCounter is a Swift package that provides live tracking of SwiftData model counts with optional per-model or default limits. It listens for ModelContext save notifications and automatically refreshes counts, while also logging changes and limit crossings using OSLog.

Mark Battistella welcomes support for SwiftDataCounter through GitHub Sponsors, paypal.me, paypal.me, and paypal.me. If you find this package useful, please consider supporting it.


Compatibility

Full Build Results