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

@1ec5

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    iOSMapbox Maps SDK for iOSmacOSMapbox Maps SDK for macOS

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions