Previews

Generate dynamic, interactive previews of your custom views.

Topics

Preview Creation

protocol PreviewProvider

A type that produces view previews in Xcode.

Preview Customization

struct PreviewDevice

The simulator device that runs a preview.

enum PreviewPlatform

The operating system on which to run the preview.

enum PreviewLayout

The size constraint for a preview.