Mads Marquart

Results 251 issues of Mads Marquart

Collection of ideas to improve `objc2-foundation` - [ ] Add more iterator methods to `INSArray` and `INSMutableArray` (see also https://github.com/madsmtm/objc2/issues/29#issuecomment-913185651) - [ ] Safety of `NSArray::objects_in_range` (out of bounds?) -...

enhancement
help wanted
A-objc2::foundation

- [x] Document our goals (see [`fruity`'s](https://github.com/nvzqz/fruity#goals) for inspiration). Done in https://github.com/madsmtm/objc2/pull/79 - [ ] Document various design choices - [ ] Especially our use of `Deref` in `objc2-foundation`, since...

documentation

This library should probably settle on some kind of MSRV policy, I would like some input on that? A few options: - N-3 - 6 months timeframe - 12 months...

help wanted

As part of moving towards a (somewhat stable) version, I'd like to submit PRs to other projects to set an ecosystem-wide precedence for using this crate, and to see which...

help wanted
A-objc2
A-icrate
A-block2

Mostly relevant for `objc2_foundation`/`objc2::rc`, which are the "real" user-facing APIs. # [Rust API Guidelines Checklist](https://rust-lang.github.io/api-guidelines/checklist.html) - **Naming** *(crate aligns with Rust naming conventions)* - [x] Casing conforms to RFC 430...

documentation
enhancement

WIP. Example syntax: ```rust extern_methods!( unsafe impl MyObject { #[sel_id(init)] fn new() -> Id; #[sel_id(description)] fn get(&self) -> Id; } ); // Becomes impl MyObject { #[sel_id(init)] fn new() ->...

enhancement
A-objc2

Remove the `"verify_message"` feature in favour of enabling it when `debug_assertions` are on. This requires us to reimplement a few things from the Objective-C runtime, but hopefully this could be...

enhancement
A-objc2

I've spent a lot of time in the past ensuring that the usual stacked borrows rules are upheld (for example ensuring that `&NSObject` and `&mut NSObject` never coexist), but I...

help wanted
A-objc2
I-unsound

Idea is that we generate an array in a `const fn`, and then get a reference to that array and put it in a `const`. Requires https://github.com/rust-lang/rust/issues/76560. Another approach would...

enhancement
A-objc2

Rough sketch: When generating bindings to Objective-C classes automatically (e.g. with `bindgen`, see #85), it would be nice to return a reference counting pointer (e.g. an `Id`). Sadly, however, it...

enhancement
help wanted