ryanmcgrath / cacao

Rust bindings for AppKit (macOS) and UIKit (iOS/tvOS). Experimental, but working!
MIT License
1.8k stars 65 forks source link

Fix `objc2` warnings #34

Open madsmtm opened 1 year ago

madsmtm commented 1 year ago

Builds upon #30.

Fix warnings introduced by objc2 deprecating certain functionality.

ryanmcgrath commented 1 year ago

This one also looks fine to me, albeit needs a touch of rebase it seems.

madsmtm commented 1 year ago

I've incorporated a few fixes from a newer version of objc2 into this, namely the ability to just use bool in place of BOOL, and to elide a lot of .unwrap()'s after msg_send_id!.

ryanmcgrath commented 11 months ago

Where's this one sit with regards to #30? Should I just ignore it at this point?

madsmtm commented 11 months ago

No, I'll pick it up again after https://github.com/ryanmcgrath/cacao/pull/30

ryanmcgrath commented 11 months ago

Kk sounds good!