Name Description Size Coverage
mod.rs A UI using the macos cocoa API. This UI contains some edge cases that aren't implemented, for instance: * there are a few cases where specific hierarchies are handled differently (e.g. a Button containing Label), etc. * not all controls handle all Property variants (e.g. Checkbox doesn't handle ReadOnly, Text doesn't handle Binding, etc). The rendering only uses `ElementStyle::margin` partially because `NSView` doesn't support margins, so we work them in as offsets in the layout constraints (they are applied based on the alignment). Once we no longer support OSX 10.15, we could use `NSView.layoutMarginsGuide` instead as it results in a layout almost identical to what the margins in the UI layouts are achieving. In a few cases, init or creation functions are called which _could_ return nil and are wrapped in their type wrapper (as those functions return `instancetype`/`id`). We consider this safe enough because it won't cause unsoundness (they are only passed to objc functions which can take nil arguments) and the failure case is very unlikely. 42648 -
objc.rs Objective-C bindings and helpers. 7276 -
plist.rs The embedded Info.plist file. 1400 -