# WhatsNewInScrollview **Repository Path**: nero623/WhatsNewInScrollview ## Basic Information - **Project Name**: WhatsNewInScrollview - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-03-15 - **Last Updated**: 2024-03-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # SwiftUI 5: What's New In Scrollview [SwiftUI 5: What’s New In Scrollview](https://www.youtube.com/watch?v=I4vqy4rQZ78) 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 🤓 ## Links: - [Link to the video](https://www.youtube.com/watch?v=I4vqy4rQZ78) - [safeAreaPadding](https://developer.apple.com/documentation/swiftui/view/safeareapadding(_:)-5lh9p) - [scrollClipDisabled](https://developer.apple.com/documentation/swiftui/view/scrollclipdisabled(_:)) - [scrollTargetBehavior](https://developer.apple.com/documentation/swiftui/view/scrolltargetbehavior(_:)) - [containerRelativeFrame](https://developer.apple.com/documentation/swiftui/view/containerrelativeframe(_:alignment:)) - [scrollTargetLayout](https://developer.apple.com/documentation/swiftui/view/scrolltargetlayout(isenabled:)) - [scrollTransition](https://developer.apple.com/documentation/swiftui/view/scrolltransition(topleading:bottomtrailing:axis:transition:)) - [scrollPosition(initialAnchor:)](https://developer.apple.com/documentation/swiftui/view/scrollposition(initialanchor:)) ⬅️ It's no longer there it has been replaced by the [defaultScrollAnchor(_:)](https://developer.apple.com/documentation/swiftui/view/defaultscrollanchor(_:)) - [scrollPosition(id:)](https://developer.apple.com/documentation/swiftui/view/scrollposition(id:)) ⬅️ Same here, this one has been changed by the [scrollPosition(id:anchor:)](https://developer.apple.com/documentation/swiftui/view/scrollposition(id:anchor:)) ### Photos: - [Barcelona](https://unsplash.com/photos/BG8TvW6NYYw) - [Paris](https://unsplash.com/photos/QAwciFlS1g4) - [New York](https://unsplash.com/photos/PeFk7fzxTdk) - [Rome](https://unsplash.com/photos/iek_zWEB0Fw) - [London](https://unsplash.com/photos/Q6UehpkBSnQ) - [Dubai](https://unsplash.com/photos/XaWUCdAdP6E)