View options, video details screen

This commit is contained in:
Arkadiusz Fal
2021-07-08 00:39:18 +02:00
parent 6d35394ffd
commit 4a733f5a30
27 changed files with 652 additions and 108 deletions

12
Model/Thumbnail.swift Normal file
View File

@@ -0,0 +1,12 @@
import Foundation
import SwiftyJSON
struct Thumbnail {
var url: URL
var quality: String
init(_ json: JSON) {
url = json["url"].url!
quality = json["quality"].string!
}
}