Mads Marquart

Results 501 comments of Mads Marquart

> Do you have instructions somewhere on what you're doing to build appkit? I'd like to try building AuuthenticationServices There's a bit of docs in `header-translator/README.md`, but for adding new...

I've thought about the `git` situation some more, and I think I'll create a separate repository containing only the generated artifacts, and link it to this one as a `git`...

https://github.com/rust-windowing/winit/pull/2457 highlighted an issue: We'd have to return `Id` if we wanted to make `accepts_first_mouse` mutable after the fact - but you can very rarely have an owned view (because...

Instead, making it `Id` and then contain `accepts_first_mouse: Cell` would be more correct. Note that this is not currently possible because the layout of `Cell` is not guaranteed, will request...

Even ignoring thread safety, a problem arises with methods that return references to internal data. For example, the following fails at compile-time because `set_bytes` requires `&mut self`, but if we...

Another solution: Just keep every mutating method `unsafe`. Or maybe add two variants, one `fn push(&mut self, item: &T)` and one `unsafe fn push_unchecked(&self, item: &T)`?

Just a heads up: I'm working on automatically generating bindings to _all_ of AppKit and UIKit in https://github.com/madsmtm/objc2/pull/264, which, combined with a few tricks to slowly carve out a safe...

Also, something that is almost possible now using `declare_class!` (still need a bit more work on the generics, but that should be doable): ```rust pub trait WebViewDelegate { const NAME:...

> The real question for me actually becomes whether cacao is worth it - not because your work erases it or anything, but Apple-specific UI work is in an odd...

Don't worry about things being difficult to merge or not, I'll figure that out once https://github.com/ryanmcgrath/cacao/pull/30 is done (which is probably also why things are confusing rn; because that PR...