how to enforce older design?

Asked on 2025-09-11

1 search

To enforce an older design in your app, you can use specific APIs and properties that allow you to maintain compatibility with previous design systems. For example, in AppKit, you can use the PrefersCompactControlSizeMetrics property on NSView to revert control sizes to match previous releases of macOS. This property is inherited down the view hierarchy and, when set to true, AppKit controls will revert to sizing that is compatible with older macOS versions.

For more detailed guidance on maintaining older design elements while adopting new features, you might want to explore sessions like "Build an AppKit app with the new design" and "Get to know the new design system" from WWDC 2025. These sessions provide insights into how to integrate new design elements while considering compatibility with existing layouts and controls.

If you are interested in specific techniques or APIs, you can refer to the session Build an AppKit app with the new design (12:25) for more information on adapting control sizes and maintaining compatibility.