mirror of
https://github.com/yattee/yattee.git
synced 2024-12-23 05:53:41 +00:00
12 lines
227 B
Swift
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
|
||
|
}
|
||
|
}
|