glass contrainer

Asked on 06/11/2025

@wwdc25

1 search

The concept of a "glass container" is discussed in several sessions at WWDC 2025, particularly in the context of creating visually consistent and performant UI elements using the Liquid Glass material.

In the session titled "Build an AppKit app with the new design," the use of a glass effect container is highlighted as a way to group multiple glass elements together. This allows them to share a sampling region, providing a consistent visual result and improving performance by requiring only one sampling pass for the entire group. You can find more details in the Glass chapter of this session.

Similarly, in the session "Build a UIKit app with the new design," the UI Glass Container Effect is used to manage the interaction between glass views. This effect allows glass views to merge and adapt dynamically, maintaining a consistent appearance. More information can be found in the Custom elements chapter of this session.

In the "Build a SwiftUI app with the new design" session, the Glass Effect container is used to group elements like badges, ensuring they interact and blend correctly. This is discussed in the Liquid Glass effects chapter.

These sessions provide insights into how glass containers can be used to enhance the visual and functional aspects of app design using Apple's new Liquid Glass material.