yattee/macOS/AppleAVPlayerView.swift
2022-12-05 10:13:19 +01:00

11 lines
244 B
Swift

import Defaults
import SwiftUI
struct AppleAVPlayerView: NSViewRepresentable {
func makeNSView(context _: Context) -> some NSView {
PlayerLayerView(frame: .zero)
}
func updateNSView(_: NSViewType, context _: Context) {}
}