gpt4 book ai didi

swift2 - 使用 Swift 2 进行 map 聚类

转载 作者:行者123 更新时间:2023-12-01 15:13:56 28 4
gpt4 key购买 nike

我在 MapKit 中寻找聚类标记,所以我找到了这个库:FBAnnotationClusteringSwift 这满足了我的需求。

但它适用于 swift 3。谁能为 swift 2 找到相同的库。

谢谢。

最佳答案

我不知道你是否找到了其他东西,但这是你的答案:

如果你在 github 上找到了一些东西,但它是较新的版本,你只需要在提交部分搜索这个 repo 的以前版本。

enter image description here

这个 repo 我认为它也可以与 swift 3 和 swift 2 一起使用(通过 pod 安装)也许您在尝试从用法中插入他的代码时遇到了问题。

无论如何this is the link for swift 2.2如果 pod 安装最终用于 swift 3,请使用手动安装,只需将文件拖放到您的项目中,然后使用使用代码来使用 repo。

如果你不想要 swift 2.2(所以你的 xcode < 7.3)我认为这是 this is the link

希望对你有帮助。

关于swift2 - 使用 Swift 2 进行 map 聚类,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39956343/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com