ferrokit-core 0.15.1

The AppKit layer under ferrokit (use that): places real AppKit views in a window and keeps layout, focus and shortcuts in step
Documentation

ferrokit-core

You probably want ferrokit (native Mac apps). This crate is the layer it's built on.

The AppKit layer under ferrokit: it places real AppKit views in a window, keeps their frames, focus and keyboard in step with ferrokit's own layout, and holds the models for its deepest widgets.

  • Placement: attach, mount/place/unmount, clip containers for scroll areas, pixel snapping, per-frame lifecycle (begin_frame/end_frame).
  • Events: one sink for Tab focus steps, focus changes, control actions, appearance changes and redraw requests.
  • Keyboard: Tab order and edit shortcuts (with an optional Edit menu).
  • Widgets: table::TableModel (NSTableView) and text::TextModel (NSTextView). ferrokit re-exports them, and their methods are documented here.

Depend on ferrokit instead; it pins this crate's version exactly. This crate's own API isn't covered by Ferrokit's stability promise: apps use what ferrokit re-exports (TableModel, TextModel, Column, Color…), and the rest may change in any release. Part of Ferrokit; released together with the other Ferrokit crates under one version number. macOS 15 or later. Main thread only.

License: MIT OR Apache-2.0.