1
0
mirror of https://github.com/yattee/yattee.git synced 2024-12-15 06:40:32 +05:30
yattee/Shared/Player.swift

15 lines
359 B
Swift
Raw Normal View History

2021-07-19 04:02:46 +05:30
import SwiftUI
struct Player: UIViewControllerRepresentable {
var video: Video?
func makeUIViewController(context _: Context) -> PlayerViewController {
let controller = PlayerViewController()
controller.video = video
return controller
}
func updateUIViewController(_: PlayerViewController, context _: Context) {}
}