SwiftData | Apple Developer Documentation
Write your model code declaratively to add managed persistence and efficient model fetching.