What is UIKit?
Generated on 7/30/2024
1 search

This post is brought to you by Tailscan,
the best devtool for Tailwind CSS.
UIKit is an imperative, object-oriented user interface framework used for building iOS applications. It provides a wide range of building blocks for creating and updating views, and it features longstanding rich capabilities that SwiftUI builds on. UIKit is known for its seamless interoperability with SwiftUI, allowing developers to use UIKit views and view controllers within SwiftUI and vice versa.
In iOS 18, UIKit has received many enhancements, including improvements to the document launch experience, updates to tabs and sidebars, support for new fluid transitions, and better integration with SwiftUI. For example, UIKit now supports automatic trait tracking, which simplifies handling changes in traits like size classes.
For more detailed information on the latest updates to UIKit, you can refer to the session What’s new in UIKit.
Relevant Sessions

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
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.

Demystify explicitly built modules
Explore how builds are changing in Xcode 16 with explicitly built modules. Discover how modules are used to build your code, how explicitly built modules improve transparency in compilation tasks, and how you can optimize your build by sharing modules across targets.

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