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!
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!
Need help? Tweet me @twostraws!
BUILD THE ULTIMATE PORTFOLIO APP Most Swift tutorials help you solve one specific problem, but in my Ultimate Portfolio App series I show you how to get all the best practices into a single app: architecture, testing, performance, accessibility, localization, project organization, and so much more, all while building a SwiftUI app that works on iOS, macOS and watchOS.
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.