In the Secret Swift project you’ve learned about two important security techniques in iOS: biometric authentication and the keychain. Both of these in theory add some sort of security, but only if you use them correctly:
UserDefaults, it can be read out by bypassing the app.
But even with both of those two combined, is our data truly secure? As Gene Spafford once said, “the online truly secure system is one that is powered off, cast in a block of concrete and sealed in a lead-lined room with armed guards.”
That doesn’t mean you shouldn’t try. As you’ve seen, Apple gives us a variety of tools we can use to keep our user data safe, and it’s worth using them all as best as we can.
Today you should work through the wrap up chapter for project 28, complete its review, then work through all three of its challenges.
In this project you learned two crucial techniques for keeping user data safe – make sure you tell others about your progress!
Need help? Tweet me @twostraws!
SAVE 50% To celebrate WWDC23, all our books and bundles are half price, so you can take your Swift knowledge further without spending big! Get the Swift Power Pack to build your iOS career faster, get the Swift Platform Pack to builds apps for macOS, watchOS, and beyond, or get the Swift Plus Pack to learn advanced design patterns, testing skills, and more.
The 100 Days of Swift is a free collection of videos, tutorials, tests, and more to help you learn Swift faster. Click here to learn more, or watch the video below.
Link copied to your pasteboard.