100-days-of-swiftui-and-com.../day-084
CypherPoet 9f4dbeb8a2 Complete Day 84 2020-01-16 16:15:29 -06:00
..
README.md Complete Day 84 2020-01-16 16:15:29 -06:00

README.md

Day 84: Project 16: QRConnections (Part Six)

Follow along at https://www.hackingwithswift.com/100/swiftui/84.


📒 Field Notes

This day covers Part Six of Project 16 in the 100 Days of SwiftUI Challenge. (Project 16 files can be found in the directory for Part One.)

It focuses on several specific topics:

  • Saving and loading data with UserDefaults
  • Posting notifications to the lock screen

Saving and loading data with UserDefaults

Core Data seems like the better choice for modeling and saving Contact entities -- so I went that approach. I did use UserDefaults for the user's own preferences, though. It's cool to see how the two can be mixed 🙂.

Posting notifications to the lock screen