Scrollview
Generated on 8/12/2024
1 search
The WWDC sessions provide a variety of insights into using ScrollView
in SwiftUI. Here are some highlights:
-
Migrate your TVML app to SwiftUI: This session discusses new view modifiers specific to
ScrollView
in tvOS 18, such as theonScrollVisibilityChange
modifier, which can be used to remove background images when the header section scrolls off-screen. It also covers how to align scroll targets and manage content flow to the edges of the display. Migrate your TVML app to SwiftUI (09:15) -
Create custom visual effects with SwiftUI: This session explores creating custom scroll effects using SwiftUI's
scrollTransition
modifier. It allows for unique visual experiences, such as a parallax effect or a circular carousel effect, by manipulating the rotation and offset of elements based on their scroll position. Create custom visual effects with SwiftUI (02:09) -
What’s new in SwiftUI: This session highlights enhancements in scrolling, such as programmatic control over scroll positions and content alignment. It also introduces new features for creating experiences centered around content moving on or off-screen. What’s new in SwiftUI (16:18)
These sessions provide a comprehensive look at how to leverage ScrollView
in SwiftUI to create dynamic and visually appealing interfaces.
Create custom visual effects with SwiftUI
Discover how to create stunning visual effects in SwiftUI. Learn to build unique scroll effects, rich color treatments, and custom transitions. We’ll also explore advanced graphic effects using Metal shaders and custom text rendering.
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.
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.