What did apple add to UIKit this year

Generated on 8/3/2024

1 search

Tailscan

This post is brought to you by Tailscan, the best devtool for Tailwind CSS.

This year, Apple has introduced several enhancements to UIKit, as detailed in the What’s new in UIKit session at WWDC 2024. Here are some of the key updates:

  1. Document Launch Experience: Redesigned launch experience for document-based apps, providing full control over launch views and design, and first-class support for template document creation.
  2. Tabs and Sidebar: Major updates to tabs and sidebar, improving the user interface.
  3. Fluid Transitions: Support for new fluid transitions across the system.
  4. SwiftUI Integration: Enhanced integration between UIKit and SwiftUI, allowing for more seamless use of both frameworks in the same app.
  5. Gesture Recognizers: UIKit gesture recognizers can now be added directly to SwiftUI hierarchies using the new UIJs recognizer representable protocol.
  6. Apple Pencil Pro: New features for integrating drawing experiences with Apple Pencil Pro, including the squeeze gesture for tool switching and an undo slider.
  7. Trait System: Improved automatic trait tracking, making it easier to use traits and handle changes.
  8. Sensory Feedback: Updates to feedback generators, enhancing the experience of drawing and writing with Apple Pencil Pro.
  9. Text Improvements: New APIs for text improvements, enhancing the overall text handling capabilities.

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