What are some of the modern UIKit and Swift features supported from iOS 17?

Asked on 06/19/2025

1 search

In iOS 17, Apple introduced several modern features for UIKit and Swift, enhancing the development experience and capabilities. Here are some of the key features:

UIKit Features

  1. Swift Observable Objects: UIKit now integrates Swift observation at its core, allowing for automatic tracking of observable view references and dependencies. This feature is enabled by default in iOS 26 and can be back-deployed to iOS 18 by adding a specific key to your info plist. This integration simplifies the process of updating views without manual intervention (What’s new in UIKit).

  2. New Design System: UIKit supports a new design system with vibrant materials and controls, including a new material called Liquid Glass, which is dynamic and translucent (What’s new in UIKit).

  3. Improved Interoperability with SwiftUI: UIKit has improved its interoperability with SwiftUI, allowing for better integration of gestures and animations between the two frameworks (What’s new in UIKit).

Swift Features

  1. Rich Text Editing in SwiftUI: The SwiftUI text editor now supports rich text editing by changing the binding of the text editor's text from a string to an attributed string. This allows for customizable styling and editing experiences (Platforms State of the Union).

  2. 3D Charts in SwiftUI: Swift Charts now support 3D interactions, thanks to RealityKit, allowing users to rotate and zoom in on charts from different angles (Platforms State of the Union).

  3. Improved Scrolling Performance: SwiftUI has introduced new APIs for scroll views, providing fine-grained control over scroll view states and improving performance (What’s new in SwiftUI).

These updates reflect Apple's ongoing efforts to enhance the development experience by integrating modern Swift technologies and improving interoperability between UIKit and SwiftUI.