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 18:26:03 -0700 |
commit | 27ab8f129ca6359534c075b52007d3f125db875d (patch) | |
tree | 7f8f9fe1bc384a1d1668dcb01cee3f639841a43b /platform/darwin/src/NSExpression+MGLAdditions.h | |
parent | f0f67b4788f967ee34f307312db302cecb68dd0b (diff) | |
download | qtlocation-mapboxgl-27ab8f129ca6359534c075b52007d3f125db875d.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. |