StravaCombine is a library that makes Strava authentication and workout-upload available via Swift Combine publishers. This makes it easy to integrate Strava into a SwiftUI application. This library is used in Travaartje: https://travaartje.net.
See https://github.com/katoemba/travaartje for examples how this library can be used.
- iOS 13, macOS 10.15
- Swift 5.1
Build and usage via swift package manager is supported:
The easiest way to add the library is directly from within XCode (11). Alternatively you can create a Package.swift file.
// swift-tools-version:5.0
import PackageDescription
let package = Package(
name: "MyProject",
dependencies: [
.package(url: "https://github.com/katoemba/stravacombine.git", from: "1.0.0")
],
targets: [
.target(name: "MyProject", dependencies: ["StravaCombine"])
]
)A full set of unit tests is included.
- In case of questions you can contact berrie at travaartje dot net