Description
objc2
is the successor to objc
, which includes a bunch of improvements, especially wrt. memory management. Additionally, it provides the objc2-foundation
, objc2-app-kit
and objc2-web-kit
crates, which would be very useful for wry
to decrease the amount of error-prone manual binding code. Finally, the declare_class!
macro would be useful for creating wry
's delegate classes.
I begun on the transition a little bit in this branch, but realized it's gonna be a lot of work, so wanted to get some feedback first (or ideally: get someone else to do the work ;) ).
We should also migrate to it in muda
, tray-icon
(tauri-apps/tray-icon#172), window-vibrancy
, tao
, tauri
, tauri-runtime-wry
and so on, but doing that in these crates is substantially less work (updating tao to a newer Winit should fix it automatically, and the rest are fairly small), and can be done in parallel.