1
1
<p align =" center " >
2
- <img src ="Resources/Logo_Rounded .png" alt="ScrollKit Logo" title="ScrollKit " />
2
+ <img src="Resources/Icon .png" alt="Project Icon" width="250 " />
3
3
</p >
4
4
5
5
<p align =" center " >
6
6
<img src="https://img.shields.io/github/v/release/danielsaidi/ScrollKit?color=%2300550&sort=semver" alt="Version" title="Version" />
7
7
<img src="https://img.shields.io/badge/swift-6.0-orange.svg" alt="Swift 6.0" />
8
8
<img src="https://img.shields.io/badge/platform-SwiftUI-blue.svg" alt="Swift UI" title="SwiftUI" />
9
+ <a href="https://danielsaidi.github.io/ScrollKit"><img src="https://img.shields.io/badge/documentation-web-blue.svg" alt="Documentation" /></a>
9
10
<img src="https://img.shields.io/github/license/danielsaidi/ScrollKit" alt="MIT License" title="MIT License" />
10
- <a href="https://twitter.com/danielsaidi"><img src="https://img.shields.io/twitter/url?label=Twitter&style=social&url=https%3A%2F%2Ftwitter.com%2Fdanielsaidi" alt="Twitter: @danielsaidi" title="Twitter: @danielsaidi" /></a>
11
- <a href="https://mastodon.social/@danielsaidi"><img src="https://img.shields.io/mastodon/follow/000253346?label=mastodon&style=social" alt="Mastodon: @danielsaidi@mastodon.social" title="Mastodon: @danielsaidi@mastodon.social" /></a>
12
11
</p >
13
12
14
13
15
14
16
- ## About ScrollKit
15
+ # ScrollKit
17
16
18
17
ScrollKit is a SwiftUI SDK that adds powerful scroll features, like offset tracking and a header view that stretches & transforms as you pull down, and sticks to the top when you scroll.
19
18
@@ -37,7 +36,7 @@ https://github.com/danielsaidi/ScrollKit.git
37
36
38
37
## Getting started
39
38
40
- ScrollKit has a ` ScrollViewWithOffsetTracking ` view that can detect scrolling:
39
+ ScrollKit has a ` ScrollViewWithOffsetTracking ` that can detect scrolling on all OS versions :
41
40
42
41
``` swift
43
42
ScrollViewWithOffsetTracking { offset in
@@ -47,7 +46,7 @@ ScrollViewWithOffsetTracking { offset in
47
46
}
48
47
```
49
48
50
- ScrollKit also has a ` ScrollViewWithStickyHeader ` that makes it easy to set up a stretchy, sticky header:
49
+ ScrollKit has a ` ScrollViewWithStickyHeader ` that makes it easy to set up a stretchy, sticky header:
51
50
52
51
``` swift
53
52
struct MyView : View {
@@ -112,9 +111,9 @@ Your support makes it possible for me to put more work into these projects and m
112
111
Feel free to reach out if you have questions or want to contribute in any way:
113
112
114
113
* Website: [ danielsaidi.com] [ Website ]
115
- * Mastodon: [ @danielsaidi @mastodon.social] [ Mastodon ]
116
- * Twitter: [ @danielsaidi ] [ Twitter ]
117
114
* E-mail: [ daniel.saidi@gmail.com ] [ Email ]
115
+ * Bluesky: [ @danielsaidi @bsky.social] [ Bluesky ]
116
+ * Mastodon: [ @danielsaidi @mastodon.social] [ Mastodon ]
118
117
119
118
120
119
@@ -125,15 +124,15 @@ ScrollKit is available under the MIT license. See the [LICENSE][License] file fo
125
124
126
125
127
126
[ Email ] : mailto:daniel.saidi@gmail.com
128
-
129
127
[ Website ] : https://danielsaidi.com
130
128
[ GitHub ] : https://github.com/danielsaidi
131
- [ Twitter ] : https://twitter.com/danielsaidi
132
- [ Mastodon ] : https://mastodon.social/@danielsaidi
133
129
[ OpenSource ] : https://danielsaidi.com/opensource
134
130
[ Sponsors ] : https://github.com/sponsors/danielsaidi
135
131
132
+ [ Bluesky ] : https://bsky.app/profile/danielsaidi.bsky.social
133
+ [ Mastodon ] : https://mastodon.social/@danielsaidi
134
+ [ Twitter ] : https://twitter.com/danielsaidi
135
+
136
136
[ Documentation ] : https://danielsaidi.github.io/ScrollKit/
137
137
[ Getting-Started ] : https://danielsaidi.github.io/ScrollKit/documentation/scrollkit/getting-started
138
-
139
138
[ License ] : https://github.com/danielsaidi/ScrollKit/blob/master/LICENSE
0 commit comments