Created
June 24, 2019 20:59
-
-
Save eriadam/2fdd397d7665546c133d84433f8840a6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Let's add a simple CLLocation to the tree. | |
let location = CLLocation( | |
latitude: item.latitude, | |
longitude: item.longitude) | |
tree.add(location, at: float2(item.latitude, item.longitude)) | |
// And then remove it. | |
tree.remove(location) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment