summaryrefslogtreecommitdiff
path: root/platform/ios/Mapbox.playground/Contents.swift
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2018-04-12 18:59:09 -0400
committerJason Wray <jason@mapbox.com>2018-04-16 18:42:34 -0400
commitd4e597eb94a90a816fcc480fa7b6719430a20b84 (patch)
treeac098db0c1a3f35d883b8565c8bc598dc7647ad1 /platform/ios/Mapbox.playground/Contents.swift
parent0529c018f3ea76d2aa0405c88849fe319cc1da25 (diff)
downloadqtlocation-mapboxgl-d4e597eb94a90a816fcc480fa7b6719430a20b84.tar.gz
[ios, macos] Convert various class methods to class properties
This improves the Swift interface while having no effect on Obj-C usage.
Diffstat (limited to 'platform/ios/Mapbox.playground/Contents.swift')
-rw-r--r--platform/ios/Mapbox.playground/Contents.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/Mapbox.playground/Contents.swift b/platform/ios/Mapbox.playground/Contents.swift
index 04618d796e..f31c9b6171 100644
--- a/platform/ios/Mapbox.playground/Contents.swift
+++ b/platform/ios/Mapbox.playground/Contents.swift
@@ -51,7 +51,7 @@ panel.addSubview(pitchSwitch)
Put your access token into a plain text file called `token`. Then select the “token” placeholder below, go to Editor ‣ Insert File Literal, and select the `token` file.
*/
var accessToken = try String(contentsOfURL: <#token#>)
-MGLAccountManager.setAccessToken(accessToken)
+MGLAccountManager.accessToken = accessToken
class PlaygroundAnnotationView: MGLAnnotationView {