Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f9e62cb

Browse files
Update ExtPlayerProtocol.swift
1 parent 0b64413 commit f9e62cb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎Sources/swiftui-loop-videoplayer/protocol/player/ExtPlayerProtocol.swift‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ public protocol ExtPlayerProtocol: AbstractPlayer, LayerMakerProtocol{
2727
#elseif canImport(AppKit)
2828
/// Provides an optional `CALayer` which can be set, and a property to indicate if the layer is wanted, for use within AppKit environments.
2929
var layer: CALayer? { get set }
30+
/// WantsLayer is necessary. Otherwise, your NSView will not render the layer-based content at all.
3031
var wantsLayer: Bool { get set }
3132
#endif
3233

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /