Today is the last day of coding for this project, and I’m sure you’re looking forward to the challenges and review tomorrow – it should make a nice change from such a long tutorial.
First, though, we need to cover off two tricky topics, one of which will really challenge you because we’ll remodel our code to use the MVVM design pattern. As you’ll see, this helps separate logic from layout in our projects, but it takes a bit of thinking too – not least because you need to understand the concept of the main actor.
While you’re working through today, chances are you’re really starting to feel the difficulty curve ramp up, because our projects are growing and size and complexity. I want to take this opportunity to remind you of a few things:
There’s a quote widely attributed to Confucius that you would do well to remember: “it doesn’t matter how slowly you go, as long as you don’t stop.”
Today you have two topics to work through, in which you’ll learn how to write data to disk securely, and how to enable biometric authentication.
That’s another app done – make sure and share your progress with the world!
Great job on finishing another day! If you still have questions about what you learned, please send them in using this form – I'll do my best to address the most common problems in the next course update. Thank you!
If you use Twitter, the button below will prepare a tweet saying you completed today, along with a celebratory graphic, the URL to this page, and the challenge hashtag. Don't worry – it won't be sent until you confirm on Twitter!
Alternatively, copy and paste the text below to your preferred social network - I'm @twostraws on Mastodon.social, Bluesky, and Threads.
🎉 I just finished Day 72 of the #100DaysOfSwiftUI at https://www.hackingwithswift.com/100/swiftui/72 via @twostraws
Need help? Tweet me @twostraws!
SPONSORED Take the pain out of configuring and testing your paywalls. RevenueCat's all new Paywall Editor allow you to remotely configure your paywall view without any code changes or app updates.
Sponsor Hacking with Swift and reach the world's largest Swift community!
The 100 Days of SwiftUI is a free collection of videos, tutorials, tests, and more to help you learn SwiftUI faster. Click here to learn more, or watch the video below.
Link copied to your pasteboard.