Whats new in uikit for xcode 15

Generated on 9/6/2024

1 search

In Xcode 15, UIKit has introduced several enhancements and new features for iOS 18, as presented at WWDC 2024. Here are some of the key updates:

  1. Document Launch Experience: There's a redesigned launch experience for document-based apps, allowing for more control over launch views and support for template document creation.

  2. Tabs and Sidebar Updates: Major updates have been made to tabs and sidebars, including a new API to better describe app hierarchy to UITabBarController. This allows for immediate reflection of changes made to UITab instances.

  3. Fluid Transitions: New support for fluid transitions across the system has been introduced, enhancing the user interface experience.

  4. Integration with SwiftUI: There are more integrations between UIKit and SwiftUI, allowing for better interoperability. Gesture recognition has been factored out of UIKit, enabling the use of gesture recognizers in SwiftUI view hierarchies.

  5. Apple Pencil Pro Enhancements: New features for integrating drawing experiences with Apple Pencil Pro, including a squeeze gesture for tool switching and an undo slider for apps with undo support.

For more detailed information, you can refer to the session What’s new in UIKit.