summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLRendererConfiguration.h
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/darwin/src/MGLRendererConfiguration.h
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/darwin/src/MGLRendererConfiguration.h')
-rw-r--r--platform/darwin/src/MGLRendererConfiguration.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLRendererConfiguration.h b/platform/darwin/src/MGLRendererConfiguration.h
index 31aad0a742..34c8e9628b 100644
--- a/platform/darwin/src/MGLRendererConfiguration.h
+++ b/platform/darwin/src/MGLRendererConfiguration.h
@@ -11,7 +11,7 @@ NS_ASSUME_NONNULL_BEGIN
@interface MGLRendererConfiguration : NSObject
/** Returns an instance of the current renderer configuration. */
-+ (instancetype)currentConfiguration;
+@property (class, nonatomic, readonly) MGLRendererConfiguration *currentConfiguration;
/** The file source to use. Defaults to `mbgl::DefaultFileSource` */
@property (nonatomic, readonly) mbgl::DefaultFileSource *fileSource;