mirror of
https://github.com/yattee/yattee.git
synced 2024-12-15 23:00:32 +05:30
321c265a11
WIP on controls Chapters working Add previews variable Add lists ids WIP
25 lines
442 B
Swift
25 lines
442 B
Swift
import UIKit
|
|
|
|
final class MPVViewController: UIViewController {
|
|
var client: MPVClient!
|
|
|
|
init() {
|
|
client = MPVClient()
|
|
super.init(nibName: nil, bundle: nil)
|
|
}
|
|
|
|
required init?(coder: NSCoder) {
|
|
super.init(coder: coder)
|
|
}
|
|
|
|
override func viewDidLoad() {
|
|
super.loadView()
|
|
|
|
client.create(frame: view.frame)
|
|
|
|
view.addSubview(client.glView)
|
|
|
|
super.viewDidLoad()
|
|
}
|
|
}
|