init(_:image:)
Creates a preview representation.
Declaration
@export(implementation) init(_ titleResource: LocalizedStringResource, image: Image)Parameters
- titleResource:
A resource for the title to show in a preview.
- image:
An image to show in a preview.