You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add PreviewProvider and its related preview APIs so that tools can discover and render previews declared with this protocol.
Scope
Add PreviewProvider, PreviewDevice, PreviewPlatform, PreviewContext, and InterfaceOrientation.
Add the preview modifiers, such as previewDevice(_:), previewLayout(_:), previewDisplayName(_:), previewInterfaceOrientation(_:), and previewContext(_:).
Expose _allPreviews metadata for preview tools.
Build and keep child view graphs for preview content.
Acceptance criteria
Each child of previews produces one preview with its name, layout, device, and orientation traits.
Preview tools can list the previews through _allPreviews.
Activity