simlay
simlay
@emilio Mind reviewing this PR again? I've been playing around with this branch combined with #1847 and the bindings generated are becoming kinda awesome. In my uikit-sys crate [UIButton](https://simlay.github.io/uikit-sys/master/uikit_sys/struct.UIButton.html), all...
@scoopr are you available for a review? This PR adds a key feature to bindgen for objective-c support.
> So here's a thought, is there any reason we can't just implement this when generating code for the `ObjCInterface`? > > It feels weird that stuff that would be...
Hmm... Interesting. `cargo test` does the same thing for me on Big Sur (macos 11.4). Could this be due macOS (and it's devtools) shipping with a newer version of clang...
Those errors are because the [`Account.Framework` uses objective-c in the headers](https://github.com/phracker/MacOSX-SDKs/blob/master/MacOSX10.11.sdk/System/Library/Frameworks/Accounts.framework/Versions/A/Headers/ACAccountStore.h). I've not worked on the objective-c support in quite a while so I can't say if it'll work. You'll...
> We still keep the fallback introduced in the previous patch because the objective-c test that it fixed is not fixed by this (the cursors aren't even there). I could...
@chinedufn I've been playing with this off and on for a few days and think this PR will be huge if it's all in one. Do you have any suggestions...
Sure! I’ll give it a whack!
Have you seen the [ios example directory](https://github.com/rust-windowing/glutin/tree/master/glutin_examples/ios-example)? It's not perfect but does stuff. Depending on the version of macOS and what SDKs, you've got available, so you might have to...
> wondering what the advantage is over using rust-bindgen to bind to the c/objc apis. is it likely apple will build swift replacements and deprecate the c/objc apis? That's partly...