snap-swift-data

0.1.0

Extends SwiftData to better interoperate with CoreData and Persistent History Tracking.
simonnickel/snap-swift-data

What's New

Initial Release

2024-04-29T09:35:17Z

Initial Release

This package is part of the SNAP suite.

SnapSwiftData

This package improves interoperability between SwiftData and CoreData. It provides SwiftData with access to CoreData objects and Persistent History Tracking.

SwiftData is build on CoreData, but does not completely cover its functionality. SnapSwiftData tries to fill some gaps, so you do not need to create a duplicated CoreData stack.

The package is heavily inspired by https://github.com/fatbobman/SwiftDataKit

Documentation

Features

Disclaimer

The implementation relies on current CoreData / SwiftData implementation details. This means it might break with future versions of SwiftData. Please use carefully.

Nothing in this package should not be necessary at all and be supported by SwiftData (FB13577205).

Good to know

Add to launch arguments to silence CloudKit logs (see https://useyourloaf.com/blog/disabling-core-data-cloudkit-logging/):

-com.apple.CoreData.Logging.stderr 0

Description

  • Swift Tools 5.10.0
View More Packages from this Author

Dependencies

  • None
Last updated: Sat May 18 2024 20:45:35 GMT-0900 (Hawaii-Aleutian Daylight Time)