From ios-dev
Fix SwiftUI sheet presentation issues in Leavn - competing sheets, dismissal patterns, binding synchronization, enum-based consolidation
npx claudepluginhub willsigmon/sigstack --plugin ios-devThis skill is limited to using the following tools:
Fix sheet presentation issues:
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Guides MCP server integration in Claude Code plugins via .mcp.json or plugin.json configs for stdio, SSE, HTTP types, enabling external services as tools.
Fix sheet presentation issues:
Find competing sheets: Multiple .sheet() modifiers on same view
Consolidate pattern:
enum SheetType: Identifiable {
case optionA, optionB
var id: String { ... }
}
@State var activeSheet: SheetType?
.sheet(item: $activeSheet) { type in
switch type { ... }
}
Fix dismissal: Update binding before dismiss()
Check bindings: Ensure parent and environment in sync
Use when: Multiple sheets conflict, dismissal bugs, sheet state issues