This day covers the second and final part of Project 22: Detect-A-Beacon
in Hacking with Swift.
You can follow along directly here.
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 76 focuses on extending the
Detect-A-Beacon
project according to a set of challenges.
Write code that shows a
UIAlertController
when your beacon is first detected. Make sure you set a Boolean to say the alert has been shown, so it doesn’t keep appearing.
- 🔗 Commit
Have your app register two or three other iBeacons. Now add a second label to the app that shows new text depending on which beacon was located.
Use animation to accentuate the changing of different proximity states.
- 🔗 Commit