diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2018-04-11 18:15:15 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2018-04-11 20:26:02 -0700 |
commit | 9b869c51ad6cd7d722112e163736c839952cdb5e (patch) | |
tree | 080dfea03baa5551a212124db1ca24896d734870 /platform/darwin/src/NSExpression+MGLAdditions.h | |
parent | ad803d77cb6bdc831b91ba39a5326148d1405891 (diff) | |
download | qtlocation-mapboxgl-9b869c51ad6cd7d722112e163736c839952cdb5e.tar.gz |
[ios, macos] Renamed expression initializer to be more Swiftian
Diffstat (limited to 'platform/darwin/src/NSExpression+MGLAdditions.h')
-rw-r--r-- | platform/darwin/src/NSExpression+MGLAdditions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/src/NSExpression+MGLAdditions.h b/platform/darwin/src/NSExpression+MGLAdditions.h index b4d36bc1b1..4c416de3e5 100644 --- a/platform/darwin/src/NSExpression+MGLAdditions.h +++ b/platform/darwin/src/NSExpression+MGLAdditions.h @@ -26,7 +26,7 @@ NS_ASSUME_NONNULL_BEGIN @return An initialized expression equivalent to `object`, suitable for use as the value of a style layer attribute. */ -+ (instancetype)mgl_expressionWithJSONObject:(id)object; ++ (instancetype)expressionWithMGLJSONObject:(id)object NS_SWIFT_NAME(init(mglJSONObject:)); /** An equivalent Foundation object that can be serialized as JSON. |