how to create appkit

Asked on 07/31/2024

1 search

To create an AppKit application, you can follow the guidance provided in the session "What’s new in AppKit" from WWDC 2024. Here are some key points and improvements you might find useful:

  1. New macOS Features: macOS Sequoia introduces new system-wide features such as advanced writing tools that help with spelling, grammar, structure, clarity, and tone. These features are automatically available in your AppKit apps (What’s new in AppKit).

  2. SwiftUI Integration: Incrementally adopt SwiftUI with new menu and animation APIs. This allows you to enhance your AppKit applications with modern SwiftUI components (What’s new in AppKit).

  3. API Refinements: There are several new API refinements in AppKit, including new ways to open context menus, new capabilities in the text system, SF symbols, and more control over toolbars (What’s new in AppKit).

  4. Context Menu Refinements: macOS Sequoia allows the use of the keyboard to open context menus for the currently focused UI element, which can be customized in system settings (What’s new in AppKit).

  5. Toolbar Refinements: Ensure your toolbars support all display modes and adopt the new system standard components like content type pickers, cursors, and text entry suggestions (What’s new in AppKit).

For a more detailed guide, you can watch the full session "What’s new in AppKit" which covers these topics extensively.

Relevant Sessions

Chapter Markers for "What’s new in AppKit"

  • 0 = Introduction
  • 49 = New macOS features
  • 52 = Writing Tools, Genmoji, and Image Playground
  • 211 = Window Tiling
  • 381 = More SwiftUI integrations
  • 401 = Build menus with SwiftUI
  • 459 = Get animated with SwiftUI
  • 500 = API refinements
  • 524 = Context menu refinements
  • 582 = Text highlighting
  • 660 = SF Symbols
  • 719 = Save Panel refinements
  • 784 = Cursors refinements!
  • 921 = Toolbar refinements
  • 1042 = Text entry suggestions