100 Days of SwiftUI
2026-08-07
Project 16, part 7
Wrap up Hot Prospects
Quiz: 10/12
Challenge
- Add an icon to the “Everyone” screen showing whether a prospect was contacted or not.
if prospect.isContacted && filter.self == .none {
Label("", systemImage: "person.crop.circle.badge.checkmark")
.accessibilityLabel("Contacted")
}
- Add an editing screen, so users can adjust the name and email address of someone they scanned previously. (Tip: Use the simple form of NavigationLink rather than navigationDestination(), to avoid your list selection code confusing the navigation link.)
…
- Allow users to customize the way contacts are sorted – by name or by most recent.
…