App Services / 28:15

What’s new in SwiftUI

App ServicesDesignSwiftUI & UI Frameworksiosipadosmacostvosvisionoswatchos

Key Points

  • Covers the latest additions to SwiftUI and how they can improve apps.
  • Introduces a new Document protocol, direct disk access, snapshot-based diffing, and APIs for reordering content in lists and grids.
  • Also covers expanded presentation APIs, swipe actions on any view, AsyncImage caching, and lazy state initialization for Observable types.
  • The session moves through Refreshed look and feel, Document-based apps, Presentation and interaction, Data flow and performance.
  • Key concepts include SwiftUI, AsyncImage, UIKit, DocumentCreationSource, NewDocumentButton, StickerDocument, ReadableDocument, HTTP.
  • Platform coverage: ios, ipados, macos, tvos, visionos, watchos.

Condensed Flow

01

Refreshed look and feel:

Focuses on SwiftUI, UIKit.

02

Document-based apps:

Focuses on SwiftUI.

03

Presentation and interaction:

Focuses on SwiftUI.

04

Data flow and performance:

Focuses on SwiftUI.

More Detail

Additional details

  • Detailed flow: Refreshed look and feel -> Document-based apps -> Presentation and interaction -> Data flow and performance.
  • APIs and concepts to recognize: SwiftUI, AsyncImage, UIKit, DocumentCreationSource, NewDocumentButton, StickerDocument, ReadableDocument, HTTP, ContentBuilder, DocumentWriter, ForEach, URLRequest.
  • Implementation focus: AsyncImage, HTTP, SwiftUI, StickerStoreView, StickerStore.

Resources