Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SwiftUI runtime checks to guard against nested AXScreens #1

Open
Clstroud opened this issue Nov 4, 2022 · 0 comments
Open

Add SwiftUI runtime checks to guard against nested AXScreens #1

Clstroud opened this issue Nov 4, 2022 · 0 comments

Comments

@Clstroud
Copy link
Collaborator

Clstroud commented Nov 4, 2022

@andrewroycarter found that it's easy to nest screens in a parent-child relationship when that's not really how the framework is designed to be used. SwiftUI provides a means for us to add a runtime check via the environment that could output a useful diagnostic to help discover this kind of configuration error during development.

Documentation should also be updated to make this expectation slightly clearer, even though it's already basically stated.

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

No branches or pull requests

1 participant