Intro to SwiftData | How to to update, Insert, delete items in SwiftUI

Опубликовано: 12 Октябрь 2024
на канале: MasteringProgramming
723
11

#swifttutorial #iOS #appdevelopment #Swiftdata #programmingtutorials

SwiftData is a great tool now available in SwiftUI that allows you to save, store and work with Data in your SwiftUI app for IOS.
In this tutorial I will be showing you how to use SwiftData, specifically how to:
1 - How to use #Swiftdata to insert or add items in Swift
2 - How to use #Swiftdata to delete items added in Swift
3 - How to use #Swiftdata to Query and show items saved in Swift

Video Chapters:
1:30 Building the UI
4:35 Starting the SwiftData Model and Configuration
8:40 How to Add or insert an item to be saved using SwiftData
10:22 How to Query a saved item using SwiftData
10:40 How to delete an item using SwiftData
14:10 How to delete all existing items in a model using SwiftData

Please download my IOS AI App:
https://apps.apple.com/au/app/robowri...