Layout improvements

This commit is contained in:
Arkadiusz Fal
2021-08-02 01:01:24 +02:00
parent 66c8b647bf
commit 9c5e427c7b
10 changed files with 148 additions and 223 deletions

14
macOS/Player.swift Normal file
View File

@@ -0,0 +1,14 @@
import SwiftUI
struct Player: NSViewControllerRepresentable {
var video: Video!
func makeNSViewController(context _: Context) -> PlayerViewController {
let controller = PlayerViewController()
controller.video = video
return controller
}
func updateNSViewController(_: PlayerViewController, context _: Context) {}
}