2015-06-25 09:07:19 -07:00
|
|
|
/**
|
2018-09-11 15:27:47 -07:00
|
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
2015-06-25 09:07:19 -07:00
|
|
|
*
|
2018-02-16 18:24:55 -08:00
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
2015-06-25 09:07:19 -07:00
|
|
|
*/
|
2015-04-14 17:51:28 -07:00
|
|
|
|
|
|
|
#import <CoreLocation/CoreLocation.h>
|
|
|
|
|
2016-11-23 07:47:52 -08:00
|
|
|
#import <React/RCTConvert.h>
|
2015-04-14 17:51:28 -07:00
|
|
|
|
|
|
|
@interface RCTConvert (CoreLocation)
|
|
|
|
|
|
|
|
+ (CLLocationDegrees)CLLocationDegrees:(id)json;
|
|
|
|
+ (CLLocationDistance)CLLocationDistance:(id)json;
|
|
|
|
+ (CLLocationCoordinate2D)CLLocationCoordinate2D:(id)json;
|
|
|
|
|
|
|
|
@end
|