This is your reference when you're wiring up tap, drag, pinch, or rotation gestures in SwiftUI and need to get the state management and composition right. It covers the modern iOS 17+ gestures like MagnifyGesture and RotateGesture that replaced the deprecated versions, shows you how to use @GestureState for transient feedback versus @State for persistence, and explains the three composition operators (simultaneously, sequenced, exclusively) with actual code. The gesture priority modifiers (highPriorityGesture, simultaneousGesture) are spelled out clearly, which matters when you've got nested interactive views fighting over touch events. Useful for both adding new gestures and fixing existing ones that feel broken.

skills.sh installs
4.2K
GitHub stars
1.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add dpearson2699/swift-ios-skills --skill swiftui-gestures --agent claude-code

Installs into .claude/skills of the current project.

Files

SwiftUI Gestures (iOS 26+)

Review, write, and fix SwiftUI gesture interactions. Apply modern gesture APIs with correct composition, state management, and conflict resolution using Swift 6.3 patterns.

Scope boundary: This skill owns SwiftUI gesture recognition, composition, gesture state, and gesture-specific accessibility alternatives. Broader SwiftUI architecture/state ownership belongs in swiftui-patterns; list, scroll, form, and control layout belongs in swiftui-layout-components; broad UIKit bridging belongs in swiftui-uikit-interop.

When correcting Apple API availability, deprecation, or behavior claims, cite the relevant Sosumi or official Apple documentation URL in the response.

Contents

Sponsors

Details

Repository
github.com/dpearson2699/swift-ios-skills
Categories
Git & Pull Requests, Code Review & Quality, Mobile Development
First seen
Apr 16, 2026

More from dpearson2699/swift-ios-skills

All 98
1dotnet avatareval-performancedotnet/skillsGuide for diagnosing and improving MSBuild project evaluation performance. USE FOR: builds slow before any compilation starts, high evaluation time in binlog an4.2Kskills.sh installs
2agents365-ai avatarcreating-mermaid-diagramsagents365-ai/365-skillsGenerate Mermaid diagrams (.mmd) and export to PNG/SVG/PDF using mmdc CLI or Kroki API. USE THIS SKILL when user mentions diagram, flowchart, sequence diagram, 4.2Kskills.sh installs
3dotnet avatarwriting-mstest-testsdotnet/skillsWrite, create, modernize, or fix comprehensive MSTest unit tests with MSTest 3.x/4.x APIs. USE FOR: write, create, review, or modernize MSTest tests and asserti4.2Kskills.sh installs
4dpearson2699 avatarswift-chartsdpearson2699/swift-ios-skillsImplement, review, or improve data visualizations using Swift Charts. Use when building bar, line, area, point, pie, donut, or iOS 26 3D charts; when adding cha4.2Kskills.sh installs
5openai avataraspnet-coreopenai/skillsBuild, review, refactor, or architect ASP.NET Core web applications using current official guidance for .NET web development. Use when working on Blazor Web App4.1Kskills.sh installs
6dotnet avatardetect-static-dependenciesdotnet/skillsScan C# source files for hard-to-test static dependencies — DateTime.Now/UtcNow, File.*, Directory.*, Environment.*, HttpClient, Console.*, Process.*, and other4.1Kskills.sh installs