Swiftpack.co - nikstar/GPX.swift as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by nikstar.
nikstar/GPX.swift v0.2.1
Complete implementation of GPX 1.1 parser in Swift
⭐️ 0
🕓 4 years ago
iOS macOS
.package(url: "https://github.com/nikstar/GPX.swift.git", from: "v0.2.1")

GPX.swift

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")

GitHub

link
Stars: 0
Last commit: 4 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Dependencies

Release Notes

0.2.1
4 years ago
  • Added Equatable and Hashable conformance
  • Renamed description to desc to avoid confusion with Swift protocol conformance

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics