tvOS 18
Generated on 10/11/2024
1 search
At WWDC 2024, Apple introduced several updates and features for tvOS 18, particularly focusing on migrating TVML apps to SwiftUI. The session titled "Migrate your TVML app to SwiftUI" highlighted the following key points:
-
Deprecation of TVML Kit: Apple is officially deprecating TVML Kit, encouraging developers to transition to SwiftUI for building tvOS apps. SwiftUI offers a more flexible and feature-rich environment for creating native tvOS UIs.
-
Cross-Platform Development: SwiftUI allows developers to share code across different Apple platforms, including iOS, iPadOS, macOS, watchOS, and visionOS, making it easier to build apps for Apple TV using the same components and tools.
-
New Features in tvOS 18: The session discussed new features such as the floating sidebar, which is now available system-wide in tvOS 18 through SwiftUI. This sidebar has a translucent appearance and can be easily implemented using the navigation split view APIs.
-
Improved UI Components: Developers can now use the new tab view APIs to create fully featured sidebars and maintain a minimal tab bar appearance, enhancing the user interface on Apple TV.
For more detailed information, you can refer to the session Migrate your TVML app to SwiftUI (00:00:07).
Relevant Sessions
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 UIKit
Explore everything new in UIKit, including tab and document launch experiences, transitions, and text and input changes. We’ll also discuss better-than-ever interoperability between UIKit and SwiftUI animations and gestures, as well as general improvements throughout UIKit.