latest in TVos

Generated on 7/30/2024

1 search

Tailscan

This post is brought to you by Tailscan, the best devtool for Tailwind CSS.

The latest updates in tvOS, as presented at WWDC, focus on the transition from TVML to SwiftUI for building Apple TV apps. Here are some key points:

  1. Deprecation of TVML: Apple is officially deprecating TVMLKit. While it will remain available, it won't be updated further. SwiftUI is now the recommended framework for building tvOS apps (Migrate your TVML app to SwiftUI).

  2. SwiftUI for tvOS 18: SwiftUI now includes everything needed to build rich, fully-featured media catalog and streaming apps for tvOS. This includes new features and APIs that make it easier to create native tvOS UIs with design cues specifically aimed at producing great tvOS apps (Migrate your TVML app to SwiftUI).

  3. Cross-Platform Development: SwiftUI allows for a significant amount of code sharing across different Apple platforms, including iPhone, iPad, Mac, and Apple Vision Pro. This makes it easier to develop and maintain apps across multiple devices (Migrate your TVML app to SwiftUI).

  4. New UI Components:

    • Floating Sidebar: The floating sidebar from the TV app is now available system-wide in tvOS 18 through SwiftUI. It features a translucent appearance and can be implemented with just one line of code (Migrate your TVML app to SwiftUI).
    • Tab View APIs: New tab view APIs allow for different types of content, enabling the creation of a fully-featured sidebar while maintaining a minimal tab bar appearance (Migrate your TVML app to SwiftUI).
  5. Design and Interaction:

    • Lockups: Techniques to build familiar lockups used by Apple apps like Music and TV, including interactive elements like images with rounded corners and specular lighting effects (Migrate your TVML app to SwiftUI).
    • Shelves and Catalogs: Methods to assemble flowing shelves of content and create impressive layouts for app landing pages (Migrate your TVML app to SwiftUI).

For more detailed information, you can refer to the session Migrate your TVML app to SwiftUI.