UICollectionViewCompositionalLayout
Asked on 2025-07-05
1 search
UICollectionViewCompositionalLayout is a powerful tool in UIKit for creating complex and adaptive layouts in collection views. At WWDC 2024, the session titled "What’s new in UIKit" discussed improvements related to UI collection views and compositional layouts. Specifically, it highlighted how compositional layouts can be used to display lists in different styles depending on the context, such as in the Files app where the layout adapts between portrait and landscape modes.
For more details, you can refer to the session What’s new in UIKit at the chapter "List improvements" which starts at 07:44.

What’s new in UIKit
Explore everything new in UIKit, including tab and document launch experiences, transitions, and text and input changes. We’ll also discuss better-than-ever interoperability between UIKit and SwiftUI animations and gestures, as well as general improvements throughout UIKit.

SwiftUI essentials
Join us on a tour of SwiftUI, Apple’s declarative user interface framework. Learn essential concepts for building apps in SwiftUI, like views, state variables, and layout. Discover the breadth of APIs for building fully featured experiences and crafting unique custom components. Whether you’re brand new to SwiftUI or an experienced developer, you’ll learn how to take advantage of what SwiftUI has to offer when building great apps.

What’s new in UIKit
Modernize your app with the latest APIs in UIKit, including enhanced menu bar support, automatic observation tracking, a new UI update method, and improvements to animations. We’ll also cover how you can include SwiftUI scenes in your UIKit app and explore SF Symbols, HDR color pickers, and more.