// // GroceryListMode.swift // Nextcloud Cookbook iOS Client // import Foundation enum GroceryListMode: String, CaseIterable { case inApp = "inApp" case appleReminders = "appleReminders" func descriptor() -> String { switch self { case .inApp: return String(localized: "In-App") case .appleReminders: return String(localized: "Apple Reminders") } } static let allValues: [GroceryListMode] = GroceryListMode.allCases }