100 Days of SwiftUI

Day 85

2026-08-07

Project 16, part 7

Wrap up Hot Prospects

Quiz: 10/12

Challenge

  1. 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")
}
  1. 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.)

  1. Allow users to customize the way contacts are sorted – by name or by most recent.