@@ -10,12 +10,11 @@ import SwiftUI
1010
1111public extension View {
1212
13- /// Make a scroll view's content view overlap the scroll
14- /// header, by applying a negative offset.
13+ /// Make a scroll view's content view overlap the scroll header by applying a
14+ /// negative offset.
1515 ///
16- /// Do not use this together with a sticky header, since
17- /// a sticky header will overlap the content, which will
18- /// ruin this overlap effect.
16+ /// Do not use this together with a sticky header, since such a sticky header
17+ /// will overlap the content, which will ruin this overlap effect.
1918 ///
2019 /// - Parameters:
2120 /// - points: The number of points to overlap, by default `10`.
@@ -29,12 +28,11 @@ public extension View {
2928@available ( iOS 16 . 0 , macOS 13 . 0 , tvOS 16 . 0 , watchOS 9 . 0 , * )
3029public extension View {
3130
32- /// Make a scroll view's content view overlap the scroll
33- /// header with rounded corners .
31+ /// Make a scroll view's content view overlap the scroll header by applying a
32+ /// custom rounded corner edge .
3433 ///
35- /// Do not use this together with a sticky header, since
36- /// a sticky header will overlap the content, which will
37- /// ruin this overlap effect.
34+ /// Do not use this together with a sticky header, since such a sticky header
35+ /// will overlap the content, which will ruin this overlap effect.
3836 ///
3937 /// - Parameters:
4038 /// - points: The number of points to overlap, by default `10`.
@@ -49,8 +47,8 @@ public extension View {
4947 . scrollViewContentWithHeaderOverlap ( overlap)
5048 }
5149
52- /// Make a scroll view header view apply rounded corners
53- /// that cut out a mask for the scroll view content view.
50+ /// Make a scroll view's header view apply rounded corners to the view that
51+ /// follows it, by cutting out a mask for the scroll view content view.
5452 ///
5553 /// - Parameters:
5654 /// - cornerRadius: The number of points to overlap, by default `0`.
0 commit comments