GPX.swift parses GPX according to spec.
Dates are parsed lazily, but otherwise this package does not attempt to do anything smart and stays close to the schema. All structs and properies are documented, feel free to browse sources
import GPX
let gpx = try GPX(data: data)
Keep in mind that this call takes nontrivial time for large files.
Add to your project via Swift package manager:
.package(url: "https://github.com/nikstar/GPX.swift.git", from: "0.2.1")
link |
Stars: 0 |
Last commit: 4 years ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics