Initializer

init(nsImage:)

Creates a SwiftUI image from an AppKit image instance.

Declaration 宣言

init(nsImage: NSImage)

Parameters パラメータ

nsImage

The AppKit image to wrap with a SwiftUI Image. instance.

See Also 参照

Creating an Image from Another Image