- August 7, 2025
- Mins Read
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”)
]
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) {
…
}
}
}
A SwiftUI bottom-up controller, like in the Maps app. Drag to expand or minimize. Contents Add the Package Basic Usage ...
Morphi provides some additional shapes for SwiftUI. Triangle Parallelogram(topLeftAngle) Polygon(sides) RoundedPolygon(sides, cornerRadius) Heart Moon(angle) PlusSign(width) Star(points) Wave(isUp, width, offset) SuperEllipse(n) Drop Ring(radius) (to ...