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

Stop using class function Application.all() #25

Closed
tmandry opened this issue Nov 8, 2018 · 1 comment
Closed

Stop using class function Application.all() #25

tmandry opened this issue Nov 8, 2018 · 1 comment
Labels

Comments

@tmandry
Copy link
Owner

tmandry commented Nov 8, 2018

Writing protocols and fakes that emulate AXSwift.Application is annoying, because .all() has to be reimplemented for every class in the hierarchy. We should pass in something that emulates NSWorkspace rather than depending on Application.all().

I'm not certain whether this will reduce boilerplate or not. Even if it's about the same level of complexity, it's probably a win because it makes internal patterns more consistent.

@tmandry
Copy link
Owner Author

tmandry commented Feb 15, 2021

This got cleaned up in a recent-ish commit

@tmandry tmandry closed this as completed Feb 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant