swiftui-presentations

Automates SwiftUI modal and overlay presentation patterns across devices.

4|1|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/AutisticAF/claude-code-apple-dev-plugin --skill swiftui-presentations
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: swiftui-presentations
Source: https://github.com/AutisticAF/claude-code-apple-dev-plugin/tree/main/skills/swiftui-presentations
Command: npx skills add https://github.com/AutisticAF/claude-code-apple-dev-plugin --skill swiftui-presentations

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

SwiftUI presents many different kinds of views; this skill consolidates patterns for sheets, fullScreenCover, popover, inspector, alert, and confirmationDialog, with guidance on which presentation to use in different contexts.

Core Features & Use Cases

  • Sheet presentations: boolean-driven and item-driven
  • Full-screen covers and immersive flows
  • Popovers for iPad/Mac; sheets on iPhone
  • Inspector support (iOS 17+) and presentation customization
  • Alerts and confirmation dialogs with practical examples
  • Dismissing and detents: managing dismissal behavior and presentationDetents

Quick Start

Use the SwiftUI Presentations skill to show a sheet or popover using the patterns demonstrated in the guide.

Frequently Asked Questions about swiftui-presentations

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I show a sheet in SwiftUI using item-driven presentations?

SwiftUI sheets can be presented using item-driven bindings where a non-nil optional item triggers the modal display. This skill provides patterns for both boolean-driven and item-driven sheet presentations.

When should I use a fullScreenCover instead of a sheet in SwiftUI?

Use fullScreenCover in SwiftUI for immersive flows requiring the entire screen, whereas sheets are better for modal tasks with partial detents. This skill consolidates guidance on when to use each presentation type.

Does the SwiftUI popover modifier work on iPhone or only on iPad and Mac?

The SwiftUI popover modifier is designed for iPad and Mac, adapting to a sheet presentation on iPhone. This skill demonstrates platform-aware popover implementations across iPhone, iPad, and Mac.

How do I customize presentationDetents for sheets in SwiftUI?

Customize presentationDetents in SwiftUI by applying the modifier to your sheet content, controlling height sizes like medium and large. This skill covers managing detents and dismissal behavior for modal views.

What is the difference between alerts and confirmation dialogs in SwiftUI?

Alerts in SwiftUI present a simple message with buttons, while confirmation dialogs offer multiple action choices in a structured layout. This skill provides practical examples for implementing both presentation patterns.