Skip to content

Add GestureRelation system and NestedDescription#6

Merged
Kyle-Ye merged 15 commits into
mainfrom
feature/gesture_relation
Apr 12, 2026
Merged

Add GestureRelation system and NestedDescription#6
Kyle-Ye merged 15 commits into
mainfrom
feature/gesture_relation

Conversation

@Kyle-Ye

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

Copy link
Copy Markdown
Member

Summary

  • Add GestureNodeMatcher enum with Comparable, NestedCustomStringConvertible conformances
  • Add GestureRelation, RelationDefinition, RelationMap with full description support
  • Implement NestedDescription build pipeline (buildOpening, buildBody, buildClosing) reverse-engineered from Gestures.framework
  • Add NestedCustomStringConvertible protocol with default description/debugDescription via nested description pipeline
  • Add Array/Set/Dictionary conformances to NestedCustomStringConvertible
  • Update GestureTrait and GestureTraitCollection to use NestedCustomStringConvertible

Test plan

  • All 81 unit tests pass locally
  • Compatibility tests pass on iPhone 17 Pro (iOS 26.2 Simulator)
  • NestedCustomStringConvertibleTests covers leaf, container, nested containers
  • RelationMapTests covers description for empty, single-entry, multi-definition maps
  • GestureNodeMatcherCompatibilityTests verified against real Gestures.framework

@Kyle-Ye Kyle-Ye force-pushed the feature/gesture_relation branch from 83b155b to 547b8d1 Compare April 12, 2026 16:13
@Kyle-Ye Kyle-Ye merged commit d2c114c into main Apr 12, 2026
4 checks passed
@Kyle-Ye Kyle-Ye deleted the feature/gesture_relation branch April 12, 2026 16:17
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