what's new on UI?

Generated on 8/1/2024

1 search

What's New in UI at WWDC 2024

UIKit Enhancements

  • Document Launch Experience: Redesigned for document-based apps, allowing full control over launch views and template document creation. This helps in guiding users to create their first document while maintaining a great browsing experience.
  • Tabs and Sidebar Updates: Major updates to tabs and sidebars, including a new API to better describe app hierarchy to UITabBarController. Changes made to the UITab instance are reflected immediately where the tab is displayed.
  • Fluid Transitions: Support for new fluid transitions across the system.
  • UIUpdateLink: A new feature in iOS 18 that simplifies implementing complex animations requiring periodic UI updates. It offers automatic view tracking and low latency mode for drawing applications.
  • Apple Pencil Pro Integration: New features for integrating drawing experiences with Apple Pencil Pro, including the squeeze gesture for tool switching and updates to feedback generators.
  • SF Symbols: Expanded with new symbol animations and three new animation presets.

For more details, you can watch the session What’s new in UIKit.

SwiftUI Enhancements

  • TabView: New syntax in SwiftUI to make it easier to catch common errors at build time. You can now declare a tab struct with a title, image, and content view.
  • Custom Animations: Ability to set up animations on UIKit or AppKit views and drive them with SwiftUI, including fully custom animations.
  • Graphics Capabilities: New mix modifier on color to blend colors and extended custom shader features.
  • Scroll View Control: Fine-grained control over scroll views with new APIs like onScrollGeometryChange.
  • Mesh Gradients: Beautiful mesh gradients to freshen up your apps.
  • Improved Interoperability: Gesture recognition and animations have been factored out to enable better integration between SwiftUI and UIKit.

For more details, you can watch the session What’s new in SwiftUI.

Platforms State of the Union

  • SwiftUI and UIKit Integration: Enhanced interoperability between SwiftUI and UIKit, including gesture recognition and animation setup.
  • Custom Containers and Scrolling Enhancements: New features in SwiftUI for custom containers and scrolling customizations.

For more details, you can watch the session Platforms State of the Union.

Tab and Sidebar Experience in iPadOS

  • Updated Look: The tab bar now shares a safe area with the navigation bar for a more integrated appearance.
  • New Syntax in SwiftUI: Easier to catch common errors at build time with the new tab struct.
  • User Customization: Enhanced customization options for tabs and sidebars in both SwiftUI and UIKit.

For more details, you can watch the session Elevate your tab and sidebar experience in iPadOS.

Sessions Mentioned

  1. What’s new in UIKit
  2. What’s new in SwiftUI
  3. Platforms State of the Union
  4. Elevate your tab and sidebar experience in iPadOS