Contents

init(_:image:)

Creates a preview representation.

Declaration

init(_ title: Text, image: Image)

Parameters

  • title:

    A title to show in a preview.

  • image:

    An image to show in a preview.

See Also

Creating a preview