What is UIKit?

Generated on 7/30/2024

1 search

Tailscan

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

  1. What’s new in UIKit
  2. Platforms State of the Union
  3. SwiftUI essentials