This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
+[NSExpression mgl_expressionWithJSONObject:] doesn’t bridge to Swift as initializer #11612
Labels
Milestone
+[NSExpression mgl_expressionWithJSONObject:]
bridges to Swift asNSExpression.mgl_expression(withJSONObject:)
instead ofMGLExpression(mglJSONObject:)
. Similar to the category methods on NSValue in NSValue+MGLAdditions.h, the method should be renamed to+[NSExpression expressionWithMGLJSONObject:]
. (If that ends up bridging asNSExpression(mgljsonObject:)
, then we’ll need anNS_SWIFT_NAME
annotation.)/cc @jmkiley @fabian-guerra
The text was updated successfully, but these errors were encountered: