Swiftui, Swift, iOS App Development, iOS Development, Mobile App Development.
order.list.map{NSLocalizedString($0.drink.name, comment: "")}.joined(separator: " ") Can’t we just define the name of Drink as a LocalizedStringKey type directly? Because LocalizedStringKey does not support the Identifiable, Hashable, and Comparable protocols, and Apple has not provided any method