swiftui-advanced

Guide advanced SwiftUI gesture composition, adaptive layouts, and architecture decisions for iOS 26+.

223|21|Updated Dec 20, 2025
One-click install
npx skills add https://github.com/johnrogers/claude-swift-engineering --skill swiftui-advanced-johnrogers
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: swiftui-advanced
Source: https://github.com/johnrogers/claude-swift-engineering/tree/main/plugins/swift-engineering/skills/swiftui-advanced
Command: npx skills add https://github.com/johnrogers/claude-swift-engineering --skill swiftui-advanced-johnrogers

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Complex SwiftUI patterns for gestures and layouts can be hard to reason about; this Skill provides structured guidance on advanced gesture composition, adaptive layouts, and architecture decisions to streamline implementation.

Core Features & Use Cases

  • Gesture composition strategies: simultaneous, sequenced, and exclusive patterns for reliable user interactions.
  • Adaptive layout and performance: ViewThatFits, AnyLayout, size classes, and onGeometryChange for resilient UIs.
  • Architecture decisions: MVVM, State-as-Bridge, and TCA guidance for testable, scalable code.

Quick Start

Apply the documented advanced SwiftUI patterns in your current project by reviewing the references and implementing them where appropriate.

Frequently Asked Questions about swiftui-advanced

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

FAQPage Schema
How do I compose complex SwiftUI gestures for simultaneous or sequenced user interactions?

Compose complex SwiftUI gestures by applying simultaneous, sequenced, and exclusive composition patterns. This structured approach ensures reliable user interactions when building advanced interfaces that require multiple overlapping touch events.

What is the best way to build adaptive SwiftUI layouts that perform well across different size classes?

Build adaptive SwiftUI layouts using ViewThatFits, AnyLayout, and size classes. Utilizing onGeometryChange allows your UI to dynamically respond to spatial constraints, resulting in resilient interfaces across various device dimensions.

How do I choose an architecture pattern like MVVM or TCA for a scalable SwiftUI app?

Choose a SwiftUI architecture pattern by evaluating MVVM, State-as-Bridge, and TCA guidance. Selecting the right architecture ensures your codebase remains testable and scalable as your application complexity grows.

Does this advanced SwiftUI guidance apply to iOS 26 and later versions?

Yes, this advanced SwiftUI guidance applies directly to iOS 26 and later versions. It requires a foundational understanding of SwiftUI gestures, layout tools, and architecture patterns to implement the documented strategies effectively.

Why do my SwiftUI gesture compositions fail when users perform rapid sequential touches?

SwiftUI gesture compositions fail during rapid touches when using incorrect composition strategies. Implementing sequenced or exclusive gesture patterns correctly resolves conflicting touch events and ensures reliable user interactions.