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

Add category methods on NSValue for geometry types #4485

Closed
1ec5 opened this issue Mar 28, 2016 · 0 comments
Closed

Add category methods on NSValue for geometry types #4485

1ec5 opened this issue Mar 28, 2016 · 0 comments
Labels
feature iOS Mapbox Maps SDK for iOS macOS Mapbox Maps SDK for macOS

Comments

@1ec5
Copy link
Contributor

1ec5 commented Mar 28, 2016

MapKit has convenient category methods on NSValue for storing and retrieving CLLocationCoordinate2D (called “MKCoordinate” for some reason) and MKCoordinateSpan types. We should provide similar methods on NSValue for CLLocationCoordinate2D and MGLCoordinateBounds at the least. For CLLocationCoordinate2D, this is just a matter of moving some methods from osxapp into a file shared between the iOS and OS X SDKs.

/cc @friedbunny @tmcw

@1ec5 1ec5 added feature iOS Mapbox Maps SDK for iOS macOS Mapbox Maps SDK for macOS labels Mar 28, 2016
1ec5 added a commit that referenced this issue Apr 22, 2016
Added category methods on NSValue for converting to and from the structure types defined in MGLGeometry.h.

Fixes #4485.
1ec5 added a commit that referenced this issue Apr 22, 2016
Added category methods on NSValue for converting to and from the structure types defined in MGLGeometry.h.

Fixes #4485.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature iOS Mapbox Maps SDK for iOS macOS Mapbox Maps SDK for macOS
Projects
None yet
Development

No branches or pull requests

1 participant