Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kkebo/buildingadocumentbasedappusingswiftdata.swiftpm


https://github.com/kkebo/buildingadocumentbasedappusingswiftdata.swiftpm

Last synced: 17 days ago
JSON representation

Awesome Lists containing this project

README

        

# Building a document-based app using SwiftData

Code along with the WWDC presenter to transform an app with SwiftData.

## Overview

Learn how to use [`@Query`](https://developer.apple.com/documentation/swiftdata/query), [`@Bindable`](https://developer.apple.com/documentation/swiftui/bindable), [`.modelContainer`](), the [`.modelContext`](https://developer.apple.com/documentation/SwiftUI/EnvironmentValues/modelContext) environment variable, and [`DocumentGroup`](https://developer.apple.com/documentation/swiftui/documentgroup) to integrate with the [`SwiftData`](https://developer.apple.com/documentation/swiftdata) framework.

- Note: This sample code project is associated with WWDC23 session 10154: [Build an app with SwiftData](https://developer.apple.com/wwdc23/10154/).