Skip to content

Latest commit

 

History

History

day-073

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Day 73: Project 21: Local Notifications, Part Two

This day covers the second and final part of Project 21: Local Notifications in Hacking with Swift. You can follow along directly here.

📒 Field Notes

I previously created projects alongside Hacking with Swift in a separate repository. For 100 Days of Swift, however, I've been extending things further and adding my projects to this repo under each "Part One" folder.

With that in mind, Day 73 focuses on extending the Local Notifications project according to a set of challenges.

🥅 Challenges

Challenge 1

Update the code in didReceive so that it shows different instances of UIAlertController depending on which action identifier was passed in.

Challenge 2

For a harder challenge, add a second UNNotificationAction to the alarm category of project 21. Give it the title “Remind me later”, and schedule it to be shown in 24 hours.

Challenge 3

Update Project 2: Guess the Flag so that it reminds players to come back and play every day.

📸 Screenshots