focus tvOS swiftui
Asked on 06/16/2025
1 search
At WWDC 2024, Apple introduced several enhancements for developing tvOS apps using SwiftUI, particularly focusing on migrating from TVML to SwiftUI. The session titled "Migrate your TVML app to SwiftUI" provides a comprehensive guide on how to leverage SwiftUI for building rich, fully-featured media catalog and streaming apps on tvOS.
Key highlights from the session include:
- Deprecation of TVML: Apple is officially deprecating TVML, encouraging developers to transition to SwiftUI, which offers more flexibility and new features for tvOS apps.
- SwiftUI Features for tvOS: SwiftUI now supports building native tvOS UI with design cues specifically aimed at creating great tvOS apps. This includes the ability to create interactive lockups, flowing shelves, and smooth search experiences.
- Cross-Platform Code Sharing: SwiftUI allows developers to share a significant amount of code across different Apple platforms, including iOS, iPadOS, macOS, and visionOS, making it easier to bring apps to Apple TV.
- New UI Components: The session introduces new UI components like the floating sidebar, which is now available system-wide in tvOS 18, and new tab view APIs that allow for different types of content representation.
For more detailed information, you can refer to the session Migrate your TVML app to SwiftUI (00:00:07).

Migrate your TVML app to SwiftUI
SwiftUI helps you build great apps on all Apple platforms and is the preferred toolkit for bringing your content into the living room with tvOS 18. Learn how to use SwiftUI to create familiar layouts and controls from TVMLKit, and get tips and best practices.

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.

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.