Since macOS 14 there is a ControlSize.extraLarge
in SwiftUI, however there is no corresponding AppKit NSControl.ControlSize.extraLarge
, which seems weird.
Surely this is an oversight?
The macOS design system doesn't have the concept of an 'extra large' control size, so NSControl.ControlSize
doesn't expose a case for it. SwiftUI controls automatically map .extraLarge
to .large
where necessary on macOS, so it's fine to use in multi-device views if you really want .extraLarge
on another device.