Appkit

Asked on 2024-07-30

2 searches

What's New in AppKit

The session "What’s new in AppKit" at WWDC 2024 covers a variety of updates and improvements to AppKit, particularly in macOS Sequoia. Here are some key highlights:

  1. New macOS Features:

    • Enhanced writing tools that help with spelling, grammar, structure, clarity, and tone.
    • System-wide adoption of these writing tools for a better writing experience in your app.
  2. SwiftUI Integrations:

    • Deeper integration with SwiftUI, allowing the use of SwiftUI views and menus within AppKit apps.
    • New NSHostingMenu for using SwiftUI menus in AppKit contexts.
    • SwiftUI animations can now be used to animate NSView objects, including custom animations.
  3. API Refinements:

    • New ways to open context menus using the keyboard, with customizable shortcuts.
    • New capabilities in the text system, including text entry suggestions.
    • SF Symbols updates and new cursors.
    • More control over toolbars and window tiling.
  4. Context Menu Refinements:

    • Ability to influence the positioning of context menus when opened via the keyboard.
  5. Text Entry Suggestions:

    • A new API for providing custom text entry suggestions in NSTextField and its subclasses.

For a detailed overview, you can watch the session What’s new in AppKit.

Relevant Sessions

These sessions provide a comprehensive look at the new features and improvements in AppKit, UIKit, and their integration with SwiftUI.