Skip to content

Add SwiftUI view tree support#6

Merged
DjDeveloperr merged 2 commits intomainfrom
implement-swiftui-view-tree-support
Apr 29, 2026
Merged

Add SwiftUI view tree support#6
DjDeveloperr merged 2 commits intomainfrom
implement-swiftui-view-tree-support

Conversation

@DjDeveloperr
Copy link
Copy Markdown
Collaborator

Summary

  • Publish a reflected SwiftUI logical tree from the Swift inspector agent and surface it as a first-class swiftui hierarchy source.
  • Wire the new source through the Rust API, browser selector, and accessibility metadata so the UI can prefer and display it.
  • Expand SwiftUI reflection to unwrap ForEach data/content and active conditional branches, and update docs plus the sample integration.

Testing

  • swift build --package-path packages/inspector-agent --triple arm64-apple-ios26.0-simulator --sdk "$(xcrun --sdk iphonesimulator --show-sdk-path)"
  • npm run --prefix client test
  • npm run --prefix client typecheck

@DjDeveloperr DjDeveloperr merged commit c1797c2 into main Apr 29, 2026
1 check failed
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