Contents

PreviewRegistry

A protocol that the system uses to locate previews at runtime.

Declaration

protocol PreviewRegistry

Overview

Preview macros make use of this protocol on your behalf. Don’t use it directly. Instead, use one of the preview macros, like Preview(_:body:).

Topics

Making a preview

Getting errors

See Also

Preview definition