yattee/Model/TrendingCategory.swift
2021-09-27 00:19:50 +02:00

14 lines
267 B
Swift

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