Skip to content

Add Gestures.framework relation and description API#52

Merged
Kyle-Ye merged 6 commits intomainfrom
feature/gesture_relation
Apr 12, 2026
Merged

Add Gestures.framework relation and description API#52
Kyle-Ye merged 6 commits intomainfrom
feature/gesture_relation

Conversation

@Kyle-Ye
Copy link
Copy Markdown
Contributor

@Kyle-Ye Kyle-Ye commented Apr 12, 2026

Summary

  • Add swiftinterface declarations for GestureNodeMatcher, GestureRelation, RelationDefinition, RelationMap
  • Add NestedDescription and NestedCustomStringConvertible package types
  • Add CustomStringConvertible/CustomDebugStringConvertible conformances for GestureTrait, GestureTraitCollection, GestureNodeMatcher
  • Add Sequence conformance for GestureTraitCollection
  • Add DeviceSwiftShims for new types
  • Update generate_swiftinterface.sh for SPM build support
  • Add OrderedCollections dependency

Test plan

Kyle-Ye added 6 commits April 11, 2026 19:18
Add GestureRelation, RelationMap, and RelationDefinition types to
Gestures DeviceSwiftShims. Update generate_swiftinterface.sh to build
dependencies via SPM (using macOS SDK) so OrderedCollections is
available during swiftinterface generation.
The sed rule was removing `Gestures.` from extension declarations, but
fully qualified module prefixes are correct in swiftinterface files.
….swift argument order

Switch AG's swiftinterface generation from raw swiftc with
iphonesimulator SDK to SPM-built dependencies with macOS SDK,
consistent with GF's approach. Fix products/dependencies argument
ordering in Package.swift for Swift 6.1 compatibility.
@Kyle-Ye
Copy link
Copy Markdown
Contributor Author

Kyle-Ye commented Apr 12, 2026

@claude review this.

@Kyle-Ye Kyle-Ye merged commit e70f089 into main Apr 12, 2026
17 checks passed
@Kyle-Ye Kyle-Ye deleted the feature/gesture_relation branch April 12, 2026 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant