Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

+[NSExpression mgl_expressionWithJSONObject:] doesn’t bridge to Swift as initializer #11612

Closed

Description

@1ec5

+[NSExpression mgl_expressionWithJSONObject:] bridges to Swift as NSExpression.mgl_expression(withJSONObject:) instead of MGLExpression(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 as NSExpression(mgljsonObject:), then we’ll need an NS_SWIFT_NAME annotation.)

/cc @jmkiley @fabian-guerra

Activity

  1. added
    iOS
    macOS
    Swift
    on Apr 6, 2018
  2. added this to the milestone on Apr 6, 2018
  3. self-assigned this
    on Apr 12, 2018
  4. 1ec5 commented on Apr 12, 2018

    @1ec5
    ContributorAuthor

    Fixed in #11666 on the release-boba branch for iOS map SDK v4.0.0 and macOS map SDK v0.7.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

SwiftiOSmacOSrefactor

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions