cornerConfiguration
Asked on 2025-07-02
1 search
The concept of "cornerConfiguration" is related to the design updates in SwiftUI and AppKit, as discussed in the WWDC sessions. Specifically, it involves ensuring that UI elements maintain concentricity with their containers, which means aligning the corners of UI elements with the corners of their containers for a more cohesive design.
In the session titled "Build a SwiftUI app with the new design" (wwdc2025-323), it is explained that to build views that automatically maintain concentricity with their container, you can use a concentric rectangle shape. This involves passing the container concentric configuration to the corner parameter of a rectangle, allowing the shape to automatically match its container across different displays and window shapes.
Similarly, in the session "Build an AppKit app with the new design" (wwdc2025-310), the concept of concentricity is also discussed. The new design system includes windows with a softer, more generous corner radius, which varies based on the style of the window. This design approach ensures that elements like toolbars and sidebars are designed with a curvature that sits neatly within the corner radius of their container.
For more detailed information, you can refer to the session Build a SwiftUI app with the new design (17:29) and Build an AppKit app with the new design (07:04).

Build a SwiftUI app with the new design
Explore the ways Liquid Glass transforms the look and feel of your app. Discover how this stunning new material enhances toolbars, controls, and app structures across platforms, providing delightful interactions and seamlessly integrating your app with the system. Learn how to adopt new APIs that can help you make the most of Liquid Glass.

What’s new in SF Symbols 7
Explore the latest updates to SF Symbols, Apple’s library of iconography. Meet Draw, a new animation system that allows symbols to imitate the organic flow of a handwritten stroke, and Variable Draw, which can be used to convey strength or progress. Discover Gradients, which add dimension and visual interest to symbols, and Magic Replace enhancements, which offer greater continuity between related symbols. And learn how to preview and integrate these features into your own apps.

Make your UIKit app more flexible
Find out how your UIKit app can become more flexible on iPhone, iPad, Mac, and Apple Vision Pro by using scenes and container view controllers. Learn to unlock your app’s full potential by transitioning from an app-centric to a scene-based lifecycle, including enhanced window resizing and improved multitasking. Explore enhancements to UISplitViewController, such as interactive column resizing and first-class support for inspector columns. And make your views and controls more adaptive by adopting new layout APIs.