what's new with display classes?
Generated on 8/3/2024
1 search
In the session What’s new in UIKit, Apple introduced automatic trait tracking in iOS 18. This feature simplifies the process of handling display classes by automatically updating views when traits such as the horizontal size class change. Previously, developers had to manually register for trait changes and call setNeedsLayout
on views. With automatic trait tracking, this manual process is eliminated, and the system automatically updates the views, ensuring maximum performance by only creating necessary trait dependencies.
For more details, you can refer to the chapter on Automatic trait tracking in the "What’s new in UIKit" session.

Platforms State of the Union
Discover the newest advancements on Apple platforms.

What’s new in SwiftUI
Learn how you can use SwiftUI to build great apps for any Apple platform. Explore a fresh new look and feel for tabs and documents on iPadOS. Improve your window management with new windowing APIs, and gain more control over immersive spaces and volumes in your visionOS apps. We’ll also take you through other exciting refinements that help you make expressive charts, customize and layout text, and so much more.

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.

Say hello to the next generation of CarPlay design system
Explore the design system at the heart of the next generation of CarPlay that allows each automaker to express your vehicle’s character and brand. Learn how gauges, layouts, dynamic content, and more are deeply customizable and adaptable, allowing you to express your own design philosophy and create an iconic, tailored look. This session is intended for automakers, system developers, and anyone designing a system that supports the next generation of CarPlay.