Skip to main content
Glama

swiftui_preview

Render SwiftUI views in a simulator to preview them directly. Specify the Swift file path, preview name, and color scheme (light/dark) for accurate visualization.

Instructions

Generate a preview of a SwiftUI view by rendering it in a simulator

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colorSchemeNo
previewNameNo
swiftFilePathYes

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Stefan-Nitu/mcp-xcode'

If you have feedback or need assistance with the MCP directory API, please join our Discord server