Contents

init(image:)

Creates a non-editable image view containing the provided image. The image is scaled proportionally down to fit the view, and is centered within the view.

Declaration

convenience init(image: NSImage)

Parameters

  • image:

    The image to display within the view.

Return Value

An initialized image view.