CoreGPX

repository·master·Indexed 43 days ago

https://github.com/vincentneo/coregpx

A Swift library for parsing and generating GPX (GPS Exchange Format) files on iOS, macOS, and watchOS. It supports GPX v1.1 and legacy v1.0 schemas, utilizes native XMLParser, and provides Codable support for essential classes.

Tokens
295
Snippets
1
Records
3
Agent score
5%

What's inside CoreGPX

  1. Overview of CoreGPX features

    master

    CoreGPX is a Swift port of the iOS-GPX-Framework designed to parse and generate GPX files.

    Key capabilities include:

    • GPX Support: Supports GPX v1.1 schema and legacy GPX v1.0 support.
    • Parsing: Uses native XMLParser for parsing GPX files.
    • Generation: Outputs strings that can be packaged into GPX files.
    • Data Handling: Essential classes support Codable.
    • Extensions: Enhanced support for GPXExtensions during both parsing and creation.
    • Platforms: Fully compatible with iOS, macOS, and watchOS.
  2. Use GPX+CLLocation helper

    master
    The repository provides an extra helper file named GPX+CLLocation.swift located in the Extras folder. You can drag and drop this file into your project to enable easy conversion between CLLocation types and CoreGPX types like GPXWaypoint and GPXTrackPoint.
  3. Install CoreGPX

    master

    CoreGPX can be installed using CocoaPods, Carthage, or Swift Package Manager. It is compatible with iOS, macOS, and watchOS and depends only on the Foundation API.

    ### CocoaPods
    ```ruby
    pod 'CoreGPX'

    Carthage

    github "vincentneo/CoreGPX"