are there any changes to collection views this year?
Asked on 08/29/2024
1 search
Yes, there are changes to collection views this year. In the session titled "What’s new in UIKit," it was mentioned that collection and table view APIs have been updated to make it easier to update your cells. All views in UI collection view list sections and UITableViews now have the list environment trait set. This trait describes the style of the list that the view is in, which helps ensure that cells are styled appropriately in any given list. UI list content configuration and UI background configuration now take advantage of this new trait, adjusting their properties to match the list environment from the configuration states trait collection. This removes the need to know the style of the list when configuring a cell, simplifying the code.
For more details, you can refer to the session What’s new in 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.

Demystify SwiftUI containers
Learn about the capabilities of SwiftUI container views and build a mental model for how subviews are managed by their containers. Leverage new APIs to build your own custom containers, create modifiers to customize container content, and give your containers that extra polish that helps your apps stand out.

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.