-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* macOS: Use `objc2` crates These replace the `objc` family of crates, and provide a bunch of improvements on top of it. Improvements relevant for `rfd`: - No longer need to call `msg_send!`, (almost) all methods have automatically generated bindings in `objc2-foundation`. - `MainThreadMarker`, allows marking explicitly the functions that must run on the main thread. - Blocks in `block2` have correct memory management, you no longer need to call `mem::forget`. - AppKit bindings are provided in `objc2-app-kit`, you no longer need to define `NSApplication`, `NSAlertStyle` and such manually. To do this change, I had to change how `AsModal` works, as it was previously relying on the fact that `NSAlert` and `NSSavePanel` just so happened to have mostly compatible methods; now we ensure statically that the correct method is called. * Fix GitHub actions runner macos-latest is now macos-14, which runs on aarch64
- Loading branch information
Showing
15 changed files
with
403 additions
and
545 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.