vincentneo / CoreGPX

A library for parsing and creation of GPX location files. Purely Swift.
https://www.vincent-neo.com
MIT License
261 stars 57 forks source link

should be var instead of let to make array mutable #60

Closed frogg closed 5 years ago

frogg commented 5 years ago

trackpoints.append(trackpoint) fails if array is not mutable.

vincentneo commented 5 years ago

Looks good to me! Thanks for fixing up my mistake in the README!