DeveloperToolsSupport · IOS API REFERENCE
PreviewRegistry
protocol · iOS 17.0+ · SDK 27.1
protocol PreviewRegistryA protocol that the system uses to locate previews at runtime. Preview macros make use of this protocol on your behalf. Don't use it directly. Instead, use one of the preview macros, like <doc://com.apple.documentation/documentation/SwiftUI/Preview(_:body:)>. > Important: If you define a preview registry directly, the behavior is undefined.
Members (0)
This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
PreviewRegistry.preview
Static protocol requirements cannot be called through an instance.