Big Mountain Studio, 2024 — 543 p.
Easily Build SwiftUI Apps with Data Management.
Quickly learn Apple's SwiftData framework visually so you can save time and effort and focus on your app's main features.
Cut through the confusion and learn how to use SwiftData in SwiftUI the easy way...with pictures!
This book will become your lifelong visual reference guide that you will refer to get answers fast.
This book just removed the 3 biggest barriers to learning and using SwiftData in SwiftUI:
Complexity.
SwiftData's steep learning curve and SwiftUI together can be tricky.
Integration.
SwiftData and SwiftUI have different data management approaches.
Lack of Visuals.
Text-based tutorials may lack visuals for SwiftData concepts.
At over 500 p. this is the largest SwiftData book for SwiftUI in the world.
Chapters at a glance:
What are the 4 main concepts that will help you finally understand how SwiftData works?
How can you start using SwiftData in just 3 steps and under 10 minutes?
How can you use mock data in SwiftData and preview it while developing your UI?
What do I need to know to start using models with a variety of data types and what are some of their built-in superpowers?
How can you not only get data, but also sort, filter, and animate with a query?
What are the different ways to set up your SwiftData settings with a ModelContainer?
How can you use the model context to insert, update, and delete data?
How can you make the properties required, prevent duplicate data, and create custom types?
How can you give users more control over the changes they make with undo and redo actions?
How can you use relationships to connect data between different models?
What if you wanted to move all SwiftData code out of your view and into your observable class?
What are the different ways you can measure the performance of your SwiftData operations?
What can you do to make sure you never freeze your UI while doing SwiftData operations?
How do you use URLSession to get data and images from the web and populate your SwiftData models and views?
After your app is released, what can you do to make changes to your data model to make sure there is no data loss?
Your users might install your app on multiple devices, so how can you sync their data?