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 SystemExtensions framework / objc2-system-extensions crate #622

Merged
merged 1 commit into from
May 28, 2024

Conversation

PaulDance
Copy link
Contributor

Hi!

This proposes to add SystemExtensions as a new framework crate to objc2's collection. It is a macOS 10.15+ -only framework. The generated directory is available here.

It is relatively lightweight: only one module with a few items that felt standard Obj-C to me. The translation was thus not too hard, as only libdispatch required a few things to be skipped.

However, as the concerned APIs are at the center of framework, it is still a bit bothersome. #77 would therefore be nice for this. In the meantime, I guess the objects can still be somehow built with the generated bindings and the skipped methods used through msg_send! with the dispatch crate's types at least?

Cheers,
Paul.

@PaulDance
Copy link
Contributor Author

PaulDance commented May 28, 2024

The error in the Compiler UI step seems shared with the current state of master: something that has yet to be updated there, I guess?

@madsmtm
Copy link
Owner

madsmtm commented May 28, 2024

I've attempted to fix the CI in 6f6ec78, please rebase, otherwise it looks good!

@madsmtm madsmtm added enhancement New feature or request A-framework Affects the framework crates and the translator for them labels May 28, 2024
Signed-off-by: Paul Mabileau <paul.mabileau@harfanglab.fr>
@madsmtm madsmtm merged commit 82f06ce into madsmtm:master May 28, 2024
19 checks passed
@madsmtm
Copy link
Owner

madsmtm commented May 28, 2024

Thanks!

@PaulDance
Copy link
Contributor Author

I've attempted to fix the CI

Seems to work fine, thanks!

please rebase

Done :)

Thanks!

Well, you were quicker than my writing this 😅

Thanks!

@PaulDance PaulDance deleted the system-extensions branch May 28, 2024 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-framework Affects the framework crates and the translator for them enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants