This is the code from the YT video "SwiftUI 5: What's New In Scrollview" 🤗
You will learn all of the new changes in SwiftUI's ScrollView and how easy it is right now to create a custom carousel view. Enjoy 🤓
- Link to the video
- safeAreaPadding
- scrollClipDisabled
- scrollTargetBehavior
- containerRelativeFrame
- scrollTargetLayout
- scrollTransition
- scrollPosition(initialAnchor:) ⬅️ It's no longer there it has been replaced by the defaultScrollAnchor(_:)
- scrollPosition(id:) ⬅️ Same here, this one has been changed by the scrollPosition(id:anchor:)