ArcKit 5.0.0.pre.7

ArcKit 5.0.0.pre.7

TestsTested
LangLanguage SwiftSwift
License Commercial
ReleasedLast Release Mar 2018
SPMSupports SPM

Maintained by Matt Greenfield.



ArcKit 5.0.0.pre.7

  • By
  • Matt Greenfield

ArcKit

A location and activity recording framework for iOS.

Features

  • Core Location data filtering and smoothing
  • Core Motion data filtering and sanitising
  • Near real time stationary / moving state detection
  • Extended activity type detection (stationary, walking, running, cycling, car, train, bus,
    motorcycle, airplane, boat)
  • Dynamic GPS energy use management
  • A simple API that frees you from the complexity of Core
    Location and Core Motion

Examples and Screenshots

Documentation

Installation

pod 'ArcKit'

Demo Apps

  • To run the ArcKit Demo App from this repository:

    1. Download or clone the repository
    2. Run pod install in the project folder
    3. In Xcode, change the project's "Team" to match your Apple Developer Account
    4. Build and run!
    5. Go for a walk in your neighbourhood, to see the results :)
  • To see the SDK in action in a live, production app, install
    Arc App
    from the App Store

Code Example

See the ArcKit Demo App source in this repo for more complete code examples.

let locoManager = LocomotionManager.highlander
let noteCenter = NotificationCenter.default
let queue = OperationQueue.main 

// watch for location updates
noteCenter.addObserver(forName: .locomotionSampleUpdated, object: nil, queue: queue) { _ in
    print("rawLocation: \(locoManager.rawLocation)")
    print("filteredLocation: \(locoManager.filteredLocation)")
    print("locomotionSample: \(locoManager.locomotionSample())")
}

// start recording
locoManager.startCoreLocation()
locoManager.startCoreMotion()