Contents

init(_:image:icon:)

Creates a preview representation.

Declaration

init(_ title: Text, image: Image, icon: Icon)

Parameters

  • title:

    A title to show in a preview.

  • image:

    An image to show in a preview.

  • icon:

    An icon to show in a preview.

See Also

Creating a preview