Mads Marquart

Results 246 issues of Mads Marquart

Hey, macOS maintainer of `winit` here. I've been working on a replacement for `objc` called [`objc2`](https://github.com/madsmtm/objc2), and I think it could be interesting for this crate? Some of the concrete...

enhancement
dependencies

Message sending now requires types to implement `Encode`, which these crates don't do (yet, though maybe they will, see https://github.com/servo/core-foundation-rs/pull/628). Since these crates are used quite infrequently, and we'll probably...

~Blocked on #29~. Part of https://github.com/ryanmcgrath/cacao/issues/28. An initial pass of just getting things to compile. Upgrade instructions for most of the breaking changes can be found in [`objc2`'s CHANGELOG](https://github.com/madsmtm/objc2/blob/master/objc2/CHANGELOG.md), I've...

Builds upon #30. Fix warnings introduced by `objc2` deprecating certain functionality.

Quick draft, willing to put the work in to making this PR prettier if this transition desired, @bheisler? Using Callgrind makes the output even more stable, since we no longer...

So, during my work on [`objc2`](https://github.com/madsmtm/objc2) I decided to test some things in [Miri](https://github.com/rust-lang/miri), to try to get a feel for how sound everything is, and found this issue (which...

## Introduction Hey @SSheldon, I really like your collection of Objective-C crates: - [`objc`](https://github.com/SSheldon/rust-objc) - [`objc-encode`](https://github.com/SSheldon/rust-objc-encode) - [`objc_exception`](https://github.com/SSheldon/rust-objc-exception) - [`objc_id`](https://github.com/SSheldon/rust-objc-id) - [`objc-foundation`](https://github.com/SSheldon/rust-objc-foundation) - [`block`](https://github.com/SSheldon/rust-block) - [`uikit`](https://github.com/SSheldon/rust-uikit) - ([`dispatch`](https://github.com/SSheldon/rust-dispatch)) For better...

My WIP on https://github.com/SSheldon/rust-objc/issues/95. Adds `Retained`, a smart pointer version of `StrongPtr`, but with more guarantees. Notably, this has an `Deref` implementation, which makes it more ergonomic and safer to...

The pool is given as a reference, and the lifetime of the reference is the same as the lifetime of autoreleased objects in the pool. This allows us to bound...

The changes I've made can be seen [here](https://github.com/SSheldon/rust-objc/pull/96/files/9b16c110f8afd21bbda5a8a32a32b222abe118ce..7b758ec16a4e943ecc7910bc9a18370844fec3bd) - the rest is done automatically by `rustfmt`