I can teach you the basics of SwiftData in 4 hours πŸ‘©πŸ½β€πŸŽ“πŸ‘¨πŸ»β€πŸŽ“


Hi πŸ‘‹

This week I want to talk to you about SwiftData and how you can quickly get up-to-speed and start using this framework in your iOS app!

But first, I have a big thank you for the pretty cool indie dev project that sponsored this email: SwiftyLaunch


Advertisement

Save over 50 hours of app development time with SwiftyLaunch

SwiftyLaunch is an iOS App Generator. Select all the app features that you need. Press on "Generate". Watch SwiftyLaunch build your next iOS App's starter code.

One-time purchase. Lifetime updates. Limited Launch Discount still on.

πŸ‘‰ Get SwiftyLaunch Now πŸ‘ˆ


Sponsors like SwiftyLaunch really help me grow my content creation, so if you have time please make sure to check out their survey: it’s a direct support to my content creation ☺️


It’s been almost a year since SwiftData has been released!

And with the upcoming release of iOS 18, it’s becoming more and more realistic for an iOS app to use SwiftData to handle data persistence.

So wouldn’t now be the perfect time to learn the basics of this framework?

Luckily, a few weeks ago Apple has released a great tutorial that covers everything you need to know to start using SwiftData in an iOS app.

Because I was myself curious to learn more about SwiftData, I decided to cover the entire content of the tutorial over a series of livestreams!

And now that this series has been completed, I want to let you know what it can teach you πŸ˜€

Chapter 1 – The Basics

In this first chapter, we go over everything you need to know to:

πŸ‘‰ How to setup up the data persistence stack

πŸ‘‰ How to store a simple piece of data

πŸ‘‰ How to perform basic operations: create, retrieve, update and delete

Chapter 2 – Relationships

Now that we know how to perform basic operations, let’s move on to the more complex topic of managing relationships between pieces of data:

πŸ‘‰ How to make SwiftData aware that two pieces of data are related

πŸ‘‰ How to build UIs that allows users to manage that relationship

πŸ‘‰ How to write advanced queries to filter though the data


And that's it, after these 4 hours of training you should be able to start using SwiftData in your iOS app!

Of course, you won’t know everything about the framework, but you will know enough to get started and to be able to troubleshoot issues 😌


That’s all for this email, thanks for reading it!

If you’ve enjoyed it, feel free to forward it
to your friends and colleagues πŸ™Œ

I wish you an amazing week!

❀️

Previous
Previous

5 tips for a successful iOS take-home project

Next
Next

Bad practice: not using the modern formatting API