uikit

Generated on 8/4/2024

3 searches

UIKit at WWDC 2024

Sessions Mentioned:

  1. What’s new in UIKit
  2. Demystify explicitly built modules
  3. Build multilingual-ready apps
  4. SwiftUI essentials
  5. What’s new in SwiftUI
  6. Platforms State of the Union

Key Updates in UIKit:

  1. Automatic Trait Tracking:

    • UIKit now supports automatic trait tracking inside common view and view controller update methods such as layoutSubviews and drawRect. This feature automatically performs the associated invalidation for methods when traits change, simplifying the process of handling trait changes.
    • Example: A UIView subclass can now automatically track changes in the horizontal size class trait without manual registration.
  2. Document Launch Experience:

    • Redesigned launch experience for document-based apps, providing full control over launch views, design, and support for template document creation.
  3. Updated Tabs and Sidebar:

    • Major updates to tabs and sidebar, enhancing the user interface and making it more delightful to use.
  4. Fluid Transitions:

    • Support for new fluid transitions across the system, improving the overall user experience.
  5. UIUpdateLink:

    • A new feature that allows for better performance and battery efficiency by using advanced features for view updates.
    • Example: A view being animated up and down using a UIUpdateLink.
  6. SF Symbols Animations:

    • Expanded with new symbol animations, including three new animation presets.
  7. Text Improvements:

    • Advanced text editing experiences with UITextView, including writing tools UI by default, inline editing, proofreading, and composition support.
  8. Menu Actions:

    • Enhanced support for menu actions in iOS 18, making them more useful for iPhone-only apps and supporting system invocations like UI commands and key commands.
  9. Interoperability with SwiftUI:

    • UIKit gesture recognizers can now be added directly to SwiftUI hierarchies using the new UIJsRecognizerRepresentable protocol.
    • UIKit and AppKit can now take advantage of SwiftUI animations, allowing for seamless integration and synchronization of animations across frameworks.

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

Build multilingual-ready apps

Build multilingual-ready apps

Ensure your app works properly and effectively for multilingual users. Learn best practices for text input, display, search, and formatting. Get details on typing in multiple languages without switching between keyboards. And find out how the latest advances in the String Catalog can make localization even easier.

Demystify explicitly built modules

Demystify explicitly built modules

Explore how builds are changing in Xcode 16 with explicitly built modules. Discover how modules are used to build your code, how explicitly built modules improve transparency in compilation tasks, and how you can optimize your build by sharing modules across targets.

SwiftUI essentials

SwiftUI essentials

Join us on a tour of SwiftUI, Apple’s declarative user interface framework. Learn essential concepts for building apps in SwiftUI, like views, state variables, and layout. Discover the breadth of APIs for building fully featured experiences and crafting unique custom components. Whether you’re brand new to SwiftUI or an experienced developer, you’ll learn how to take advantage of what SwiftUI has to offer when building great apps.

Platforms State of the Union

Platforms State of the Union

Discover the newest advancements on Apple platforms.

What’s new in UIKit

What’s new in UIKit

Explore everything new in UIKit, including tab and document launch experiences, transitions, and text and input changes. We’ll also discuss better-than-ever interoperability between UIKit and SwiftUI animations and gestures, as well as general improvements throughout UIKit.

What’s new in SwiftUI

What’s new in SwiftUI

Learn how you can use SwiftUI to build great apps for any Apple platform. Explore a fresh new look and feel for tabs and documents on iPadOS. Improve your window management with new windowing APIs, and gain more control over immersive spaces and volumes in your visionOS apps. We’ll also take you through other exciting refinements that help you make expressive charts, customize and layout text, and so much more.