Intro to SwiftData - Model, Container, Fetch, Create, Update & Delete
Автор: Sean Allen
Загружено: 2023-09-29
Просмотров: 104304
Go to https://squarespace.com/seanallen to save 10% off your first purchase of a website or domain using code SEANALLEN.
This is an introduction to SwiftData new in iOS 17 and macOS Sonoma. SwiftData was introduced at WWDC 2023 and is the successor to Core Data. SwiftData is a way to persist your app's data locally on device or in iCloud to sync between devices. This video introduces you to the basic concepts like @Model, containers, context, fetch, create, update, and delete.
Need help with something specific? Book a call with me:
https://seanallen.teachable.com/p/cal...
My iOS Dev Courses:
https://seanallen.teachable.com/?vide...
WWDC 2023 -Model your schema with SwiftData:
https://developer.apple.com/videos/pl...
My Formula 1 App:
https://apps.apple.com/app/formula-wi...
X (Twitter):
Sean Allen - / seanallen_dev
Hired.com:
https://hired.com/x/1n01g
Book and learning recommendations that help out the channel if you decide to purchase (Affiliate Links):
Paul Hudson's Hacking With Swift:
https://gumroad.com/a/762098803
Donny Wals - Combine:
https://gumroad.com/a/909014131
Mark Moeyken’s SwiftUI Books:
www.bigmountainstudio.com/swiftui-views-book/fzc51
Objc.io Books (Thinking in SwiftUI & Advanced Swift):
https://gumroad.com/a/656585843
Timestamps:
0:00 - What is SwiftData?
1:18 - Create Project & Model (@Model)
5:35 - Create & Explain Container (2 ways to do it)
8:42 - Separate Container Object (Configurations)
12:03 - UI Walkthrough
14:29 - Create Expense Items
17:33 - Fetch Expense Items (@Query)
18:39 - Delete Expense Items
20:20 - Update Expense Item
24:52 - Query Predicates (Filter Results)
#swift #softwaredeveloper #iosdeveloper
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: