SwiftData by Example

$30
34 ratings

SwiftData by Example is the ultimate SwiftData cookbook, containing hundreds of pages of tips, tricks, techniques, and more to help you make the most of Apple's powerful new data management solution.

What's in the book

SwiftData by Example is the largest collection of tips, techniques, and solutions for SwiftData, delivering hundreds of pages of instantly applicable solutions for common problems.

While reading, you'll learn all this and more:

  • How to use all the core SwiftData components: ModelContainer, ModelContext, @Attribute, and many more.
  • Designing complex models with relationips and delete rules.
  • Building apps for all of Apple's platforms, including document-based apps.
  • Connecting SwiftData to both SwiftUI and UIKit
  • Adding support for widgets and CloudKit.
  • How to test SwiftData code and make best use of Xcode previews.
  • Debugging SwiftData problems, including common issues and their resolutions, and also inspecting the underlying dagta.
  • How to import data, or ship your app with pre-existing data.
  • Migrating data models as you upgrade your code.
  • Moving projects from Core Data to SwiftData.
  • Separating concerns with MVVM.

This book is simply packed with tools, tips, and tricks to help you make the most of SwiftData, so if you want to maximize your learning and builds great apps with SwiftData there really is nothing better than SwiftData by Example.

Download a free sample!

You can download the complete table of contents for this book here, or a 24-page sample PDF here.

Prefer to read for free?

This is the download edition of SwiftData By Example that gives you the PDF and ePub for offline reading, but if you'd rather read for free online you can find the book online here: free SwiftData tutorials.

The Hacking with Swift guarantee

We want everyone to be happy with all the Hacking with Swift courses they buy, both now and in the future, which is why all our books come with free lifetime Swift updates and free bonus content with our Frequent Flyer Club, and we also encourage folks to join our Slack community to help solve problems.

However, if you aren't happy with a course you bought from us, we offer a 30-day No Questions Asked refund policy. This applies to all books and video courses purchased through Gumroad, which is our primary distributor. So, if you aren't happy with your purchase, if you changed your mind, or if you just bought the wrong thing by accident, we can refund your purchase up to 30 days after it was made.

Any other questions?

You can email me at paul@hackingwithswift.com or tweet me @twostraws, and I'll do my best to help.

Sorry, the discount code you wish to use is invalid.
Buy this

You'll get the complete book as PDF, ePub, and HTML.

Copy product URL

Ratings

5.0
(34 ratings)
5 stars
100%
4 stars
0%
3 stars
0%
2 stars
0%
1 star
0%
$30

SwiftData by Example

34 ratings
Buy this