import SwiftUI /// What the user calls the third tab's grouping. "Projects" by default, but /// people organize differently — the label is a Settings choice, applied to /// the tab title, list headers, and swipe/assign UI. More options will come; /// adding one means adding a case here. enum ProjectsNaming: String, CaseIterable, Identifiable { case projects case categories static let storageKey = "projectsNaming" var id: String { rawValue } var plural: String { switch self { case .projects: "Projects" case .categories: "Categories" } } var singular: String { switch self { case .projects: "Project" case .categories: "Category" } } }