yattee/Model/TrendingCategory.swift
2021-06-17 12:02:39 +02:00

12 lines
227 B
Swift

enum TrendingCategory: String, CaseIterable, Identifiable {
case `default`, music, gaming, movies
var id: TrendingCategory.RawValue {
rawValue
}
var name: String {
rawValue.capitalized
}
}