tvOS swift ui
Asked on 06/16/2025
1 search
At WWDC 2024, Apple introduced several updates and features for developing tvOS apps using SwiftUI. The session titled "Migrate your TVML app to SwiftUI" focused on transitioning from TVML to SwiftUI for building rich, fully-featured media catalog and streaming apps on tvOS. Here are some key points from the session:
-
Deprecation of TVML: Apple is officially deprecating TVML, encouraging developers to use SwiftUI for building tvOS apps. SwiftUI provides a more flexible and feature-rich environment for app development on Apple TV.
-
Unified Development: SwiftUI allows developers to share code across multiple Apple platforms, including iOS, iPadOS, macOS, watchOS, and visionOS. This makes it easier to develop apps that work seamlessly across different devices.
-
New Features in tvOS 18: SwiftUI in tvOS 18 introduces new features like a floating sidebar, which is now available system-wide, and new tab view APIs that allow for different types of content representation, such as switching between tab bar and sidebar views.
-
Design and Interaction: The session covered how to create familiar lockups used by Apple apps like Music and TV, and how to assemble flowing shelves of content. It also demonstrated how to create interactive elements like buttons with specific styles for tvOS.
-
Search Functionality: The session highlighted the importance of search in content delivery services and demonstrated how to implement a search interface using SwiftUI's new expressive and type-safe syntax for assembling tab views.
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.

Platforms State of the Union
Discover the newest advancements on Apple platforms.

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.