← Back to context

Comment by swapsCAPS

1 day ago

I wanted to build my own window manager at some point, but was quickly scared away by the lack of a proper API on MacOS. You basically need to hack your way around it by using the accessibility API instead. I see this project uses Objective C bindings and the accessibility API and am wondering how easy it was to debug, write features and what kind of tooling was used for this.

The Accessibility framework is not what I would call a "hack" personally. It was quite well thought out and fully featured

I've spent the last month working on something similar in Rust with various macOS framework bindings and it's not really that scary

You don't really need anything other than a Rust dev env, rust-analyzer and a browser window with the Apple docs website and the objc2 crate docs.rs site open - no special XCode craziness required