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

Convert the OSX-specific WebView extension code to ObjectiveC++ #200

Open
rdw-software opened this issue May 28, 2023 · 2 comments
Open

Comments

@rdw-software
Copy link
Member

rdw-software commented May 28, 2023

Maintaining the low-level C code that uses the ObjectiveC runtime directly is problematic. There isn't much of it, yet, but I can already feel the pain. If more WebView-based features need to be implemented, or various (especially OSX-specific) issues need to be fixed, there's no way around having a simpler way of writing OSX code. Getting compile-time checks would also be a huge boon.

They presumably chose this approach for an increase in portability, but in the context of this project that's completely irrelevant.

@rdw-software
Copy link
Member Author

This is mostly blocked by the WEBVIEW_HEADER issue mentioned in #201 . It's easy to make it work by hacking around it, but a clean multiplatform solution just isn't in sight with the limitations imposed by the webview library's design. Not great, but alas.

@rdw-software
Copy link
Member Author

Should be able to resolve this after the migration to a customized fork of webview (#201) is completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: It's finally happening! (WIP)
Development

No branches or pull requests

1 participant