NEW: My new book Pro SwiftUI is out now – level up your SwiftUI skills today! >>

DAY 73

Project 21, part two

As I write this, Apple is running a series of adverts with the tagline “if privacy matters in your life, it should matter to the phone your life is on.” Of course, privacy does matter to the vast majority of us – it’s a bit like saying “you only need to floss the teeth you want to keep.”

It makes sense that Apple is running these ads right now: with companies like Facebook, Amazon, Google, and more making a lot of money over data collection, Apple’s policy of putting users in control really sets the company apart from the pack in a really positive way.

However, this policy doesn’t end at the border of Cupertino. You’re now a developer on Apple’s platforms, and it behoves you to attempt to follow in their footsteps: put the user in control, respect their settings, and treat their data with respect.

Today you’re going to be taking on some challenges to do with notifications, but when you’re doing it I want you to keep in mind what I said above: don’t abuse the trust users have placed in us, and remember that millions of apps have shipped before you that worked hard to maintain Apple’s high standards. You’re part of that now and I hope you feel increasingly able to rise to match that heritage.

Today you should work through the wrap up chapter for project 21, complete its review, then work through all three of its challenges.

That’s another project finished, and one that teaches you a technique you’ll come back to time and time again. Just remember to use your new-found power wisely!

Need help? Tweet me @twostraws!


Hacking with Swift is sponsored by MadMachine

SPONSORED Want to try Swift on microcontrollers? MadMachine provides ways to interact with the physical world in a Swift way. Join us and have fun!

Get it now

Sponsor Hacking with Swift and reach the world's largest Swift community!

100 Days of Swift

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.

Back to 100 Days of Swift

Unknown user

You are not logged in

Log in or create account

Link copied to your pasteboard.