Skip to content

Instantly share code, notes, and snippets.

View JonMercer's full-sized avatar

Jonathan Mercer JonMercer

View GitHub Profile
@JonMercer
JonMercer / PotlocViewControllerModified.swift
Created July 13, 2016 06:12
I took apart apple's example to only show relevant information on how to get the device's current GPS coordinates
/*
Copyright (C) 2016 Apple Inc. All Rights Reserved.
See LICENSE.txt for this sample’s licensing information
Abstract:
Contains the PotlocViewController which shows how to use CLLocationManager and WCSession together to communicate between an iPhone and an Apple Watch.
*/
import UIKit
import CoreLocation