SwiftData tutorial

This short tutorial guides you through creating a grocery list mobile app using SwiftData and SwiftUI frameworks. With Xcode previews, you can edit your app’s views in code and instantly see the results on the preview canvas. Additionally, we incorporate previews into your SwiftUI with the preview macro. You can then customize the display of these previews either through Xcode’s preview canvas or directly in code.