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.

MGLGeometry structs should be boxable #6746

Closed

Description

@1ec5

The structs MGLCoordinateSpan, MGLCoordinateBounds, and MGLOfflinePackProgress should be marked with the objc_boxable attribute so that they can be boxed in Objective-C. For example:

MGLCoordinateBounds cb = …;
NSValue *value = [NSValue valueWithMGLCoordinateBounds:cb];

becomes:

MGLCoordinateBounds cb = …;
NSValue *value = @(cb);

/cc @boundsj

Activity

  1. added
    iOS
    macOS
    on Oct 19, 2016
  2. modified the milestones: , ios-v3.6.0 on Jun 21, 2017
  3. 1ec5 commented on Jun 22, 2017

    @1ec5
    ContributorAuthor

    Fixed in #9343 on the release-ios-v3.6.0-android-v5.1.0 branch.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    iOSmacOS

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions