yattee/Model/Captions.swift

13 lines
220 B
Swift
Raw Permalink Normal View History

2022-07-05 17:20:25 +00:00
import Foundation
struct Captions: Hashable, Identifiable {
var id = UUID().uuidString
let label: String
let code: String
let url: URL
var description: String {
"\(label) (\(code))"
}
}