SwiftUITrackableScrollView
  • August 6, 2025

Swift Package Manager

The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler. It is in early development, but SwiftUITrackableScrollView does support its use on supported platforms.

Once you have your Swift package set up, adding SwiftUITrackableScrollView as a dependency is as easy as adding it to the dependencies value of your Package.swift.

dependencies: [
.package(url: “https://github.com/maxnatchanon/trackable-scroll-view.git”)
]

Usage

import SwiftUITrackableScrollView
struct ContentView: View {
@State private var scrollViewContentOffset = CGFloat(0) // Content offset available to use

var body: some View {
TrackableScrollView(.vertical, showIndicators: false, contentOffset: $scrollViewContentOffset) {

}
}
}

GitHub


View Github

YOU MIGHT ALSO LIKE...
SwiftUI Shapes

Collection of custom shapes Regular Polygons  

ScrollViewIfNeeded

A SwiftUI ScrollView that only scrolls if the content doesn't fit in the View Installation Requirements iOS 13+ Swift Package ...

FancyScrollView

FancyScrollView  

SwiftDux

SwiftDux is a state container inspired by Redux and built on top of Combine and SwiftUI. It helps you write ...

Verge.swift

  Using StoreReader or @Reading in SwiftUI In SwiftUI, there are two ways to observe a Store: using the StoreReader view ...