Skip to content

Releases: danielsaidi/ScrollKit

0.8.0

10 Apr 13:17
Compare
Choose a tag to compare

Thanks to @gabrielribeiro, this version adds a ScrollManager that can be used to scroll to certain parts of a scroll view.

This version also fixes a few 0.7 linting errors.

✨ Features

  • The ScrollManager is a new type that can be used to scroll within a scroll view.
  • The ScrollViewWithStickyHeader can now take a ScrollManager in its initializer.

🐛 Bug Fixes

  • This version fixes linting errors that were accidentally introduced in 0.7, since Xcode 16.3 isn't able to run build scripts.

0.7.1

10 Apr 06:37
Compare
Choose a tag to compare

This version fixes a few bugs and tweaks some behaviors from yesterday's 0.7 release.

💡 Behavior Changes

  • The ScrollViewWithStickyHeader now defaults the minimum header height to the top safe area, instead of the header height.
  • The scrollViewHeaderWithRoundedContentMask(_:) view extension has been renamed to scrollViewHeaderWithRoundedContentCorners(cornerRadius:) for clarity.

🐛 Bug Fixes

  • The ScrollViewWithStickyHeader no longer prints as it scrolls.
  • The scrollViewHeaderWithRoundedContentMask(_:) view extension didn't apply the provided corner radius. This has been fixed.

0.7.0

09 Apr 18:36
Compare
Choose a tag to compare

This version moves examples into a new namespace and renames some View extensions to make more sense.

✨ New Features

  • The ScrollViewWithStickyHeader has a new headerStretch parameter.
  • The ScrollViewWithStickyHeader has a new contentCornerRadius parameter.
  • The new scrollViewContentWithHeaderOverlap(...) view extension can apply a header overlap to a scroll view content view.
  • The new scrollViewContentWithRoundedHeaderOverlap(...) view extension can apply a rounded header overlap to a scroll view content view.
  • The new scrollViewHeaderWithRoundedContentMask(...) view extension can apply a rounded corner mask to a scroll view header.

💡 Behavior Changes

  • ScrollViewWithStickyHeader now wraps its content in a GeometryReader to properly handle scroll offset.

🐛 Bug Fixes

  • ScrollViewWithStickyHeader now honors the provided min height better, by using the geometry reader safe area insets.

🗑️ Deprecations

  • All examples have been moved into a new Examples namespace.
  • The hideStatusBarUntilScrolled view extension has been renamed to statusBarHiddenUntilScrolled.
  • The withScrollOffsetTracking view extension has been renamed to scrollViewOffsetTracking.

0.6.0

05 Oct 09:47
Compare
Choose a tag to compare

This version makes ScrollKit use Swift 6.

0.5.1

30 May 07:56
Compare
Choose a tag to compare

This version adds support for strict concurrency.

Thanks to murilocappucci@gmail.com, the ScrollViewWithStickyHeader now properly passes on the axis and indicator parameters to ScrollViewWithOffsetTracking.

0.5.0

13 Mar 21:36
Compare
Choose a tag to compare

This version makes more stuff public and adds support form visionOS.

0.4.0

04 Dec 19:59
Compare
Choose a tag to compare

This version updates to Swift 5.9, bumps deployment targets and removes CocoaPods support.

This version also moves all Spotify-related previews into a Spotify namespace.

🐛 Bug Fixes

  • ScrollViewWithStickyHeader now honors the provided min height.

💥 Breaking changes

  • ScrollViewWithOffset has been renamed to ScrollViewWithOffsetTracking.
  • StatusBarVisibleState has been renamed to the correct name.

0.3.0

14 Mar 13:44
Compare
Choose a tag to compare

This update adds utilities for handling status bar visibility.

✨ New Features

  • StatusBarVisibleState is a new class for handling status bar visibility with shared state, for instance when using NavigationStack.
  • StatusBarVisibilityUpdater is a new view modifier to automatically update the status bar visibility depending on the current scroll state.

0.2.0

10 Mar 13:54
Compare
Choose a tag to compare

This minor update adds some public previews that you can use in your own apps.

✨ New Features

  • SpotifyPreviewInfo is a new struct that defines preview info for the Spotify previews.
  • SpotifyPreviewInfo has several pre-configured albums that you can use in the previews.
  • SpotifyPreviewScreen, SpotifyPreviewHeader and SpotifyPreviewContent are new preview views.