Skip to content

Commit

Permalink
Merge pull request #60 from frogg/patch-1
Browse files Browse the repository at this point in the history
should be var instead of let to make array mutable
  • Loading branch information
vincentneo committed Oct 30, 2019
2 parents 60a05c4 + b9f209c commit 06df756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -126,7 +126,7 @@ root.metadata = metadata // adds metadata stuff
### Example of application of `GPXRoot`
```Swift
let root = GPXRoot(creator: "Your app name here!")
let trackpoints = [GPXTrackPoint]()
var trackpoints = [GPXTrackPoint]()

let yourLatitudeHere: CLLocationDegrees = 1.3521
let yourLongitudeHere: CLLocationDegrees = 103.8198
Expand Down

0 comments on commit 06df756

Please sign in to comment.