5 releases

0.3.2 Oct 4, 2025
0.3.1 Apr 19, 2025
0.3.0 Jan 24, 2025
0.2.2 May 21, 2024
0.2.0 Apr 17, 2024

#54 in macOS and iOS APIs

Download history 329608/week @ 2025-10-17 336904/week @ 2025-10-24 316720/week @ 2025-10-31 300943/week @ 2025-11-07 318383/week @ 2025-11-14 334466/week @ 2025-11-21 332530/week @ 2025-11-28 347735/week @ 2025-12-05 355452/week @ 2025-12-12 258234/week @ 2025-12-19 209152/week @ 2025-12-26 361456/week @ 2026-01-02 474493/week @ 2026-01-09 470385/week @ 2026-01-16 510217/week @ 2026-01-23 535001/week @ 2026-01-30

2,073,798 downloads per month
Used in 3,459 crates (162 directly)

Zlib OR Apache-2.0 OR MIT

11MB
199K SLoC

Bindings to the AppKit framework

See Apple's docs and the general docs on framework crates for more information.

Note that a lot of functionality in AppKit requires that the application has initialized properly, which is only done after the application delegate has received applicationDidFinishLaunching.

You should aspire to do all your UI initialization work in there!

NSWindow

Be careful when creating NSWindow if it's not inside a window controller; in those cases you're required to call window.releasedWhenClosed(false) to get correct memory management, which is also why the creation methods for NSWindow are unsafe.


objc2-app-kit

Latest version License Documentation CI

Rust bindings to Apple's framework AppKit.

This README is kept intentionally small to consolidate the documentation, see the Rust docs for more details on this crate.

This crate is part of the objc2 project, see that for related crates.

Dependencies