Skip to content

Instantly share code, notes, and snippets.

View earmand's full-sized avatar

Dan Earman earmand

  • Earman Consulting
  • Bethesda, Md
View GitHub Profile
@earmand
earmand / CLLocation+Encodable.swift
Created December 18, 2022 21:37 — forked from hishma/CLLocation+Encodable.swift
CoreLocation and Codable
extension CLLocation: Encodable {
public enum CodingKeys: String, CodingKey {
case latitude
case longitude
case altitude
case horizontalAccuracy
case verticalAccuracy
case speed
case course
case timestamp