微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

CalculateDistance 计算经纬度点物理距离

程序名称:CalculateDistance

授权协议: GPL

操作系统: 跨平台

开发语言: Objective-C

CalculateDistance 介绍

计算两个经纬度点之间的物理距离。

示例代码

#import <XCTest/XCTest.h>

@interface CalculatedistanceTests : XCTestCase

@end

@implementation CalculatedistanceTests

- (void)setUp {
    [super setUp];
    // Put setup code here. This method is called before the invocation of each test method in the class.
}

- (void)tearDown {
    // Put teardown code here. This method is called after the invocation of each test method in the class.
    [super tearDown];
}

- (void)testExample {
    // This is an example of a functional test case.
    // Use XCTAssert and related functions to verify your tests produce the correct results.
}

- (void)testPerformanceExample {
    // This is an example of a performance test case.
    [self measureBlock:^{
        // Put the code you want to measure the time of here.
    }];
}

@end

CalculateDistance 官网

https://github.com/MacleChen/CalculateDistance.git

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐