Skip to content

Audit GestureNodeOptions and GestureTrait types#3

Merged
Kyle-Ye merged 8 commits into
mainfrom
audit/GestureNodeOptions
Apr 6, 2026
Merged

Audit GestureNodeOptions and GestureTrait types#3
Kyle-Ye merged 8 commits into
mainfrom
audit/GestureNodeOptions

Conversation

@Kyle-Ye

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

Copy link
Copy Markdown
Member

Summary

  • Audit GestureNodeOptions: fix rawValue to let, add CustomStringConvertible with "{ name1 | name2 }" format verified against Gestures.framework
  • Audit GestureTraitID, GestureTrait, GestureTraitCollection: string-based ID registration via TraitLabelStore (Atomic counter + OSAllocatedUnfairLock), fix AttributeValue cases (bool/int/double), fix collection init to take [GestureTrait] array, add Sequence/Hashable/Mergeable/NestedCustomStringConvertible conformances
  • Add Mergeable and NestedCustomStringConvertible protocol stubs
  • Add compatibility tests verified against Gestures.framework on iPhone 17 Pro simulator (iOS 26.2)

Test plan

  • swift test passes (43 tests)
  • OPENGESTURES_COMPATIBILITY_TEST=1 OPENGESTURES_USE_LOCAL_DEPS=1 builds against DPF
  • xcodebuild test on iPhone 17 Pro (iOS 26.2) — GestureTraitCollectionTests pass against Apple's framework

@Kyle-Ye Kyle-Ye merged commit ad54606 into main Apr 6, 2026
4 checks passed
@Kyle-Ye Kyle-Ye deleted the audit/GestureNodeOptions branch April 6, 2026 14:28
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