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.