Skip to content

Instantly share code, notes, and snippets.

View billtraill's full-sized avatar

Bill Traill billtraill

View GitHub Profile
@billtraill
billtraill / GPX.swift
Created December 29, 2016 12:31
CS193P GPX Swift parser code update for XCode8.2 and Swift 3.0 (now takes a URL rather than NSURL)
//
// GPX.swift
// Trax
//
// Created by CS193p Instructor.
// Copyright (c) 2015 Stanford University. All rights reserved.
//
// Very simple GPX file parser.
// Only verified to work for CS193p demo purposes!
import Foundation
<!DOCTYPE html>
<meta charset="utf-8">
Hello, world 2!