What's New

API Updates

2018-12-12T21:17:03Z

Updates

  • Extension to CLLocationCoordinate2D to include mercator x, y and points
  • Extended parsing of CLLocation so that it supports long and short name versions of CLLocations
  • Extended Double to convert back and forth between radians and degrees
  • Added the ability for GeoTrackAnalyzer to split a track into legs
  • Added utilities to GeoTrack for checking if two tracks are adjacent (start / end) and check if two tracks intersect at all
  • Added sharing of tracks in the example app
  • Added unit tests

Links

Code Diff

GeoTrackKit

An iOS Library for Geo Tracking

Features

  • Handles user authorization
  • Handles track creation
  • Handles track analyzing (for ascents, descents and other stats)
  • Custom MKMapKit control for plotting your tracks on a map
  • Pull tracks in from HealthKit (Activity App)
    • NOTE: This is an iOS 11+ only feature and requires a physical device to test
    • This capability is in a subspec: HealthKit
  • Example App to demonstrate capabilities

Project Status

This project is currently a work in progress.

Build Status Documentation Platform CocoaPods
CocoaPods CocoaPods

Initial Roadmap

  • Carthage Support
  • CocoaPods Support
  • Continuous Integration (Buddy Build)
  • Function Documentation
  • Jazzy Docs
  • Performance Tests
  • SwiftLint Integration
  • 90% Code Coverage
  • Pull tracks from HealthKit (Workouts)

Example App

TODO:

  • Save tracks to disk
  • Provide a track list
  • Pull tracks in from HealthKit

Installation

Installation Instructions

CocoaPods

Directly from Github:

pod 'GeoTrackKit', :git => 'git@github.com:intere/GeoTrackKit.git', :branch => 'develop'

Directly from Cocoapods:

pod 'GeoTrackKit'

Example Usage

// This will either start tracking, or prompt the user for access to track their location
GeoTrackManager.shared.startTracking()

This library also includes a map control that will map the GeoTrack:

Inspiration

I've built a couple of variations of Geo Tracking applications, but I wanted to build a library for the community that I can share and get feedback and build better products.

Created and maintained by

Eric Internicola

Key Classes

Documentation

See the generated documentation in the docs folder

Credits / Attribution

Description

  • Swift Tools
View More Packages from this Author

Dependencies

  • None
Last updated: Wed Mar 13 2024 12:50:09 GMT-0900 (Hawaii-Aleutian Daylight Time)