Рет қаралды 4,930
The Last SwiftData Tutorial You Will Ever Need
SwiftUI Camp 👉 rebeloper.com/swiftui-camp
In this SwiftData tutorial, we'll cover everything you need to know about handling data with SwiftUI. We'll cover everything from creating a model to editing and saving data. By the end of this tutorial, you'll have everything you need to know to get started with SwiftData.
If you're new to SwiftUI or data handling in general, then this tutorial is for you. By the end of this video, you'll have everything you need to start using SwiftUI to handle your data the way you want!
00:00 INTRO
01:08 SWIFTUI CAMP
01:48 CREATING A SWIFTUI PROJECT WITH SWIFTDATA
02:50 SWIFTDATA PROJECT IDEA
03:40 DEFINING A DATA MODEL IN SWIFTDATA
05:26 CREATE A MODEL CONTAINER IN SWIFTDATA
06:12 MIGRATION IN SWIFTDATA
07:12 CREATING A VERSIONED SCHEMA IN SWIFTDATA
10:57 SWIFTDATA TYPEALIASES
12:04 CREATE A MODEL CONTAINER FOR A MIGRATION PLAN
15:19 ADD AND UPDATE IN SWIFTDATA
20:00 RELATIONSHIPS IN SWIFTDATA
22:36 QUERY IN SWIFTDATA
25:12 LIST VIEW UI
31:16 HOW TO INSERT A MODEL IN SWIFTDATA
40:30 UPDATE A MODEL IN SWIFTDATA
41:24 DELETE MODELS IN SWIFTDATA
46:30 SORTING QUERY RESULTS IN SWIFTDATA
54:08 USING PREDICATES FOR FILTERING IN SWIFTDATA
58:52 MIGRATING IN SWIFTDATA
01:00:48 CREATING A MIGRATION PLAN IN SWIFTDATA
01:08:15 WHERE TO GO FROM HERE
→ PLAYLIST:
SwiftUI Camp 👉 • Senior SwiftUI Develop...
DO YOU WANT TO ME TO WORK ON YOUR PROJECT?
HIRE ME → rebeloper.com/hire-us/
TOOLS I RECOMMEND:
→ rebeloper.com/tools
__________
Get in touch:
→ support@rebeloper.com
SUBSCRIBE to weekly tips & tutorials for building iOS apps!
→ kzfaq.info?su...
GitHub: github.com/rebeloper/
Hire me: rebeloper.com/hire-us/
LinkedIn: / rebeloper
My Blog: rebeloper.com/blog
Follow me on Instagram: / rebeloper
Twitter: / rebeloper
______
#rebeloper