
Swiftui Gestures
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-codeInstalls 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- Apple On Device Ai4.2K
- Swift Charts4.2K
- Swift Language4.1K
- App Intents4.1K
- Authentication4.1K
- Background Processing4.1K
- Healthkit4K
- Vision Framework4K
- Coreml3.9K
- Core Bluetooth3.9K
- Core Motion3.8K
- Natural Language3.8K
- Speech Recognition3.8K
- Device Integrity3.8K
- Contacts Framework3.8K
- Alarmkit3.8K
- Core Nfc3.8K
- Swift Codable3.8K
- Tipkit3.8K
- App Clips3.8K
- Permissionkit3.7K
- Energykit3.7K
- Shareplay Activities3.7K
- Weatherkit3.6K